mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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 <dirk@hohndel.org>
This commit is contained in:
parent
5735c1f387
commit
074dcfb656
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue