➕Added feature : Show only on Maximize
This commit is contained in:
1 parent
71b9b4783c
commit
4a26967d8c
2 files changed
+10
-16
No files matched your search
@@ -24,7 +24,6 @@ Item {
|
||||
property alias cfg_lengthMarginsLock: lockItem.locked
|
||||
property alias cfg_fixedLength: fixedLengthSlider.value
|
||||
property alias cfg_maximumLength: maxLengthSlider.value
|
||||
//property alias cfg_showOnlyONMaximize: showOnlyOnMaximize.checked
|
||||
|
||||
property alias cfg_subsMatch: root.selectedMatches
|
||||
property alias cfg_subsReplace: root.selectedReplacements
|
||||
@@ -53,21 +52,7 @@ Item {
|
||||
id:mainColumn
|
||||
spacing: Kirigami.Units.largeSpacing
|
||||
Layout.fillWidth: true
|
||||
// TODO: Apply show only on maximize
|
||||
// GridLayout{
|
||||
// columns: 2
|
||||
//
|
||||
// Label{
|
||||
// Layout.minimumWidth: Math.max(centerFactor * root.width, minimumWidth)
|
||||
// text: i18n("Visibility:")
|
||||
// horizontalAlignment: Label.AlignRight
|
||||
// }
|
||||
// CheckBox{
|
||||
// id: showOnlyOnMaximize
|
||||
// text: i18n("Show only when maximized")
|
||||
// enabled: true
|
||||
// }
|
||||
// }
|
||||
|
||||
GridLayout{
|
||||
columns: 2
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ Item {
|
||||
property alias cfg_subsMatch: behaviorPage.selectedMatches
|
||||
property alias cfg_subsReplace: behaviorPage.selectedReplacements
|
||||
|
||||
property alias cfg_showOnlyOnMaximize: showOnlyOnMaximize.checked
|
||||
property alias cfg_placeHolder: placeHolder.text
|
||||
|
||||
// used as bridge to communicate properly between configuration and ui
|
||||
@@ -50,6 +51,14 @@ Item {
|
||||
id: filterByScreenChk
|
||||
text: i18n("Show only window information from current screen")
|
||||
}
|
||||
Label{
|
||||
horizontalAlignment: Label.AlignRight
|
||||
}
|
||||
CheckBox{
|
||||
id: showOnlyOnMaximize
|
||||
text: i18n("Show only when maximized")
|
||||
enabled: true
|
||||
}
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
|
||||
Reference in new issue
Block a user