From 074dcfb656c579c068e4e298f086535c027ff305 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 6 Feb 2020 16:09:47 -0800 Subject: [PATCH] mobile/settings: fix the width of cylinder drop down The GridLayout isn't part of a Layout, so set its width and have the combo box fill it's part of the grid. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/Settings.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index ccc84f450..88f8c93de 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -75,7 +75,7 @@ TemplatePage { id: defaultCylinder visible: sectionGeneral.isExpanded columns: 2 - Layout.rightMargin: Kirigami.Units.gridUnit * 1.5 + width: parent.width TemplateLabel { text: qsTr("Default Cylinder") @@ -90,6 +90,7 @@ TemplatePage { } TemplateComboBox { id: defaultCylinderBox + Layout.fillWidth: true onActivated: { // the entry for 'no default cylinder' is known to be the top, but its text // is possibly translated so check against the index