improvements for flexible settings uis

pull/5/head
Michail Vourlakos 6 years ago
parent 710c527cb7
commit 950c067ba6

@ -222,20 +222,20 @@ ColumnLayout {
} }
} }
} }
}
LatteComponents.SubHeader { LatteComponents.SubHeader {
enabled: indicator.configuration.glowApplyTo!==0/*None*/ enabled: indicator.configuration.glowApplyTo!==0/*None*/
text: i18n("Options") text: i18n("Options")
} }
LatteComponents.CheckBox { LatteComponents.CheckBox {
Layout.maximumWidth: dialog.optionsWidth Layout.maximumWidth: dialog.optionsWidth
text: i18n("Reverse indicator style") text: i18n("Reverse indicator style")
checked: indicator.configuration.reversed checked: indicator.configuration.reversed
onClicked: { onClicked: {
indicator.configuration.reversed = !indicator.configuration.reversed; indicator.configuration.reversed = !indicator.configuration.reversed;
}
} }
} }
} }

@ -600,6 +600,7 @@ PlasmaComponents.Page {
LatteComponents.CheckBox { LatteComponents.CheckBox {
Layout.maximumWidth: dialog.optionsWidth Layout.maximumWidth: dialog.optionsWidth
Layout.topMargin: units.smallSpacing
text: i18n("Drag and maximize/restore active window") text: i18n("Drag and maximize/restore active window")
checked: plasmoid.configuration.dragActiveWindowEnabled checked: plasmoid.configuration.dragActiveWindowEnabled
tooltip: i18n("Drag/Maximize/Restore active window with double-click and dragging actions") tooltip: i18n("Drag/Maximize/Restore active window with double-click and dragging actions")
@ -642,7 +643,7 @@ PlasmaComponents.Page {
LatteComponents.CheckBox { LatteComponents.CheckBox {
Layout.maximumWidth: dialog.optionsWidth Layout.maximumWidth: dialog.optionsWidth
Layout.maximumHeight: mouseWheelChk.height // Layout.maximumHeight: mouseWheelChk.height
text: i18n("🅰 Activate based on position through global shortcuts") text: i18n("🅰 Activate based on position through global shortcuts")
checked: latteView.isPreferredForShortcuts || (!latteView.managedLayout.preferredForShortcutsTouched && latteView.isHighestPriorityView()) checked: latteView.isPreferredForShortcuts || (!latteView.managedLayout.preferredForShortcutsTouched && latteView.isHighestPriorityView())
tooltip: i18n("This view is used for based on position global shortcuts. Take note that only one view can have that option enabled for each layout") tooltip: i18n("This view is used for based on position global shortcuts. Take note that only one view can have that option enabled for each layout")

Loading…
Cancel
Save