@@ -535,7 +535,7 @@ ColumnLayout {
535535 property int toolbar_opacity_dark: 100; \
536536 property bool sierra_breeze_buttons_color: false; \
537537 property bool klassy_windeco_outline: false; \
538- property bool override_titlebar_opacity : false; \
538+ property bool titlebar_opacity_override : false; \
539539 property string darker_window_list; \
540540 property string on_change_hook; \
541541 property string gui_custom_exec_location; \
@@ -1576,6 +1576,24 @@ ColumnLayout {
15761576 }
15771577
15781578 RowLayout {
1579+ Layout .topMargin : Kirigami .Units .mediumSpacing
1580+ PlasmaComponents3 .Label {
1581+ text: " Override titlebar opacity"
1582+ Layout .alignment : Qt .AlignLeft
1583+ }
1584+
1585+ PlasmaComponents3 .CheckBox {
1586+ id: titleBarOpacityOverride
1587+ checked: settings .titlebar_opacity_override
1588+
1589+ onCheckedChanged: {
1590+ settings .titlebar_opacity_override = checked
1591+ }
1592+ }
1593+ }
1594+
1595+ RowLayout {
1596+ enabled: titleBarOpacityOverride .checked
15791597 PlasmaComponents3 .Label {
15801598 text: " Light"
15811599 Layout .alignment : Qt .AlignLeft
@@ -1603,6 +1621,7 @@ ColumnLayout {
16031621 }
16041622
16051623 RowLayout {
1624+ enabled: titleBarOpacityOverride .checked
16061625 PlasmaComponents3 .Label {
16071626 text: " Dark"
16081627 Layout .alignment : Qt .AlignLeft
@@ -1653,6 +1672,23 @@ ColumnLayout {
16531672 }
16541673 }
16551674
1675+ RowLayout {
1676+ Layout .topMargin : Kirigami .Units .mediumSpacing
1677+ PlasmaComponents3 .Label {
1678+ text: " Override toolbar opacity"
1679+ Layout .alignment : Qt .AlignLeft
1680+ }
1681+
1682+ PlasmaComponents3 .CheckBox {
1683+ id: toolbarOpacityOverride
1684+ checked: settings .toolbar_opacity_override
1685+
1686+ onCheckedChanged: {
1687+ settings .toolbar_opacity_override = checked
1688+ }
1689+ }
1690+ }
1691+
16561692 RowLayout {
16571693 PlasmaComponents3 .Label {
16581694 text: " Light"
@@ -1742,25 +1778,6 @@ ColumnLayout {
17421778 }
17431779 }
17441780
1745- RowLayout {
1746- Layout .topMargin : Kirigami .Units .mediumSpacing
1747- PlasmaComponents3 .Label {
1748- text: " Override titlebar opacity"
1749- Layout .alignment : Qt .AlignLeft
1750- }
1751-
1752- PlasmaComponents3 .CheckBox {
1753- id: enableOpacityOverride
1754- checked: settings .override_titlebar_opacity
1755-
1756- onCheckedChanged: {
1757- settings .override_titlebar_opacity = checked
1758- }
1759- }
1760- }
1761-
1762-
1763-
17641781 RowLayout {
17651782 PlasmaComponents3 .Label {
17661783 text: " Match Titlebar"
0 commit comments