SectionEditor: improved dimensions and moving across sections (for control center)

This commit is contained in:
ItsLemmy
2025-10-13 19:55:40 -04:00
parent eb82491125
commit 4e11f4e2e6
5 changed files with 68 additions and 43 deletions
@@ -15,16 +15,16 @@ RowLayout {
NBox {
Layout.fillWidth: true
Layout.preferredHeight: root.shortcutsHeight
RowLayout {
id: leftContent
anchors.fill: parent
spacing: Style.marginS
Item {
Layout.fillWidth: true
}
Repeater {
model: Settings.data.controlCenter.shortcuts.left
delegate: ControlCenterWidgetLoader {
@@ -40,7 +40,7 @@ RowLayout {
Layout.alignment: Qt.AlignVCenter
}
}
Item {
Layout.fillWidth: true
}
@@ -50,16 +50,16 @@ RowLayout {
NBox {
Layout.fillWidth: true
Layout.preferredHeight: root.shortcutsHeight
RowLayout {
id: rightContent
anchors.fill: parent
spacing: Style.marginS
Item {
Layout.fillWidth: true
}
Repeater {
model: Settings.data.controlCenter.shortcuts.right
delegate: ControlCenterWidgetLoader {
@@ -75,10 +75,10 @@ RowLayout {
Layout.alignment: Qt.AlignVCenter
}
}
Item {
Layout.fillWidth: true
}
}
}
}
}