Fixed brightness settings tabs wrong alignment, improved colorschemes tab

This commit is contained in:
LemmyCook 2025-08-22 09:19:56 -04:00
parent 168500a0b3
commit 084ffa6b0d
2 changed files with 37 additions and 18 deletions

View file

@ -6,25 +6,31 @@ import qs.Commons
import qs.Services
import qs.Widgets
Item {
property real scaling: 1
ColumnLayout {
id: root
spacing: 0
readonly property string tabIcon: "brightness_6"
readonly property string tabLabel: "Brightness"
Layout.fillWidth: true
Layout.fillHeight: true
ScrollView {
anchors.fill: parent
id: scrollView
Layout.fillWidth: true
Layout.fillHeight: true
padding: Style.marginM * scaling
clip: true
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
ScrollBar.vertical.policy: ScrollBar.AsNeeded
ScrollBar.horizontal.policy: ScrollBar.AsNeeded
contentWidth: parent.width
ColumnLayout {
width: parent.width
width: scrollView.availableWidth
spacing: 0
ColumnLayout {
width: scrollView.availableWidth
spacing: Style.marginL * scaling
Layout.margins: Style.marginL * scaling
Layout.fillWidth: true
NText {