Settings cleanup/scaling

This commit is contained in:
quadbyte 2025-08-12 17:20:14 -04:00
parent f469e7f6cd
commit c00e1f7fb3
5 changed files with 56 additions and 98 deletions

View file

@ -14,8 +14,7 @@ ColumnLayout {
Layout.fillWidth: true
Layout.fillHeight: true
padding: 16
rightPadding: 12
padding: Style.marginMedium * scaling
clip: true
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
ScrollBar.vertical.policy: ScrollBar.AsNeeded
@ -30,29 +29,22 @@ ColumnLayout {
}
ColumnLayout {
spacing: 4
spacing: Style.marginMedium * scaling
Layout.fillWidth: true
NText {
text: "Bar Settings"
font.pointSize: 18
text: "Components"
font.pointSize: Style.fontSizeXL * scaling
font.weight: Style.fontWeightBold
color: Colors.textPrimary
Layout.bottomMargin: 8
Layout.bottomMargin: Style.marginSmall * scaling
}
// Elements section
ColumnLayout {
spacing: 8
spacing: Style.marginSmall * scaling
Layout.fillWidth: true
Layout.topMargin: 8
NText {
text: "Elements"
font.pointSize: 13
font.weight: Style.fontWeightBold
color: Colors.textPrimary
}
Layout.topMargin: Style.marginSmall * scaling
NToggle {
label: "Show Active Window"