Changeset View
Changeset View
Standalone View
Standalone View
applets/kickoff/package/contents/ui/ConfigGeneral.qml
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Line(s) | 36 | Kirigami.FormLayout { | |||
---|---|---|---|---|---|
114 | 114 | | |||
115 | Item { | 115 | Item { | ||
116 | Kirigami.FormData.isSection: true | 116 | Kirigami.FormData.isSection: true | ||
117 | } | 117 | } | ||
118 | } | 118 | } | ||
119 | 119 | | |||
120 | ConfigButtons { | 120 | ConfigButtons { | ||
121 | id: configButtons | 121 | id: configButtons | ||
122 | Layout.alignment: Qt.AlignHCenter | ||||
123 | Layout.topMargin: units.gridUnit | ||||
124 | Layout.bottomMargin: -units.gridUnit | ||||
davidedmundson: What's this about? It's typically a sign that something else is wrong.
Probably the lack of… | |||||
The reason is actually because of the weird way that the inline labels are positioned in ConfigButtons which causes the component to have no spacing above it, but extra spacing below it. Definitely open to fixing that, but I couldn't figure out how. ngraham: The reason is actually because of the weird way that the inline labels are positioned in… | |||||
122 | } | 125 | } | ||
123 | 126 | | |||
124 | Label { | 127 | Label { | ||
125 | Layout.fillWidth: true | 128 | Layout.fillWidth: true | ||
126 | text: i18n("Drag tabs between the boxes to show/hide them, or reorder the visible tabs by dragging.") | 129 | text: i18n("Drag tabs between the boxes to show/hide them, or reorder the visible tabs by dragging.") | ||
127 | wrapMode: Text.WordWrap | 130 | wrapMode: Text.WordWrap | ||
128 | } | 131 | } | ||
129 | } | 132 | } |
What's this about? It's typically a sign that something else is wrong.
Probably the lack of spacer in this dialog means the label below occupies quite large box that it's in the middle of.
Try aligning the label below to the top instead.