From 476db57837cf299c72b360f756725ee83ad8dc2d Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Wed, 14 Jun 2023 18:07:36 +0300 Subject: [PATCH] fix(Settings): fix left panel items width (#11048) --- ui/app/AppLayouts/Profile/panels/MenuPanel.qml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Profile/panels/MenuPanel.qml b/ui/app/AppLayouts/Profile/panels/MenuPanel.qml index 22f7c4d857..1a09f6898c 100644 --- a/ui/app/AppLayouts/Profile/panels/MenuPanel.qml +++ b/ui/app/AppLayouts/Profile/panels/MenuPanel.qml @@ -26,6 +26,7 @@ Column { id: mainMenuItems delegate: StatusNavigationListItem { objectName: itemId + "-MainMenuItem" + width: root.width itemId: model.subsection title: model.text asset.name: model.icon @@ -52,6 +53,7 @@ Column { StatusListSectionHeadline { text: qsTr("Apps") + width: root.width } Repeater { @@ -59,6 +61,7 @@ Column { delegate: StatusNavigationListItem { id: appsMenuDelegate objectName: itemId + "-AppMenuItem" + width: root.width itemId: model.subsection title: model.text asset.name: model.icon @@ -80,13 +83,17 @@ Column { } } - StatusListSectionHeadline { text: qsTr("Settings") } + StatusListSectionHeadline { + text: qsTr("Settings") + width: root.width + } Repeater { id: settingsMenuItems delegate: StatusNavigationListItem { id: settingsMenuDelegate objectName: itemId + "-SettingsMenuItem" + width: root.width itemId: model.subsection title: model.text asset.name: model.icon @@ -96,12 +103,16 @@ Column { } } - StatusListSectionHeadline { text: qsTr("About & Help") } + StatusListSectionHeadline { + text: qsTr("About & Help") + width: root.width + } Repeater { id: extraMenuItems delegate: StatusNavigationListItem { objectName: itemId + "-ExtraMenuItem" + width: root.width itemId: model.subsection title: model.text asset.name: model.icon