fix(Settings): fix left panel items width (#11048)
This commit is contained in:
parent
951fa8b0f4
commit
476db57837
|
@ -26,6 +26,7 @@ Column {
|
||||||
id: mainMenuItems
|
id: mainMenuItems
|
||||||
delegate: StatusNavigationListItem {
|
delegate: StatusNavigationListItem {
|
||||||
objectName: itemId + "-MainMenuItem"
|
objectName: itemId + "-MainMenuItem"
|
||||||
|
width: root.width
|
||||||
itemId: model.subsection
|
itemId: model.subsection
|
||||||
title: model.text
|
title: model.text
|
||||||
asset.name: model.icon
|
asset.name: model.icon
|
||||||
|
@ -52,6 +53,7 @@ Column {
|
||||||
|
|
||||||
StatusListSectionHeadline {
|
StatusListSectionHeadline {
|
||||||
text: qsTr("Apps")
|
text: qsTr("Apps")
|
||||||
|
width: root.width
|
||||||
}
|
}
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
|
@ -59,6 +61,7 @@ Column {
|
||||||
delegate: StatusNavigationListItem {
|
delegate: StatusNavigationListItem {
|
||||||
id: appsMenuDelegate
|
id: appsMenuDelegate
|
||||||
objectName: itemId + "-AppMenuItem"
|
objectName: itemId + "-AppMenuItem"
|
||||||
|
width: root.width
|
||||||
itemId: model.subsection
|
itemId: model.subsection
|
||||||
title: model.text
|
title: model.text
|
||||||
asset.name: model.icon
|
asset.name: model.icon
|
||||||
|
@ -80,13 +83,17 @@ Column {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusListSectionHeadline { text: qsTr("Settings") }
|
StatusListSectionHeadline {
|
||||||
|
text: qsTr("Settings")
|
||||||
|
width: root.width
|
||||||
|
}
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
id: settingsMenuItems
|
id: settingsMenuItems
|
||||||
delegate: StatusNavigationListItem {
|
delegate: StatusNavigationListItem {
|
||||||
id: settingsMenuDelegate
|
id: settingsMenuDelegate
|
||||||
objectName: itemId + "-SettingsMenuItem"
|
objectName: itemId + "-SettingsMenuItem"
|
||||||
|
width: root.width
|
||||||
itemId: model.subsection
|
itemId: model.subsection
|
||||||
title: model.text
|
title: model.text
|
||||||
asset.name: model.icon
|
asset.name: model.icon
|
||||||
|
@ -96,12 +103,16 @@ Column {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusListSectionHeadline { text: qsTr("About & Help") }
|
StatusListSectionHeadline {
|
||||||
|
text: qsTr("About & Help")
|
||||||
|
width: root.width
|
||||||
|
}
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
id: extraMenuItems
|
id: extraMenuItems
|
||||||
delegate: StatusNavigationListItem {
|
delegate: StatusNavigationListItem {
|
||||||
objectName: itemId + "-ExtraMenuItem"
|
objectName: itemId + "-ExtraMenuItem"
|
||||||
|
width: root.width
|
||||||
itemId: model.subsection
|
itemId: model.subsection
|
||||||
title: model.text
|
title: model.text
|
||||||
asset.name: model.icon
|
asset.name: model.icon
|
||||||
|
|
Loading…
Reference in New Issue