Changeset View
Changeset View
Standalone View
Standalone View
applets/kickoff/package/contents/ui/ConfigGeneral.qml
Show All 28 Lines | 27 | ColumnLayout { | |||
---|---|---|---|---|---|
29 | property string cfg_icon: plasmoid.configuration.icon | 29 | property string cfg_icon: plasmoid.configuration.icon | ||
30 | property alias cfg_switchTabsOnHover: switchTabsOnHoverCheckbox.checked | 30 | property alias cfg_switchTabsOnHover: switchTabsOnHoverCheckbox.checked | ||
31 | property alias cfg_showAppsByName: showApplicationsByNameCheckbox.checked | 31 | property alias cfg_showAppsByName: showApplicationsByNameCheckbox.checked | ||
32 | property alias cfg_useExtraRunners: useExtraRunners.checked | 32 | property alias cfg_useExtraRunners: useExtraRunners.checked | ||
33 | property alias cfg_alphaSort: alphaSort.checked | 33 | property alias cfg_alphaSort: alphaSort.checked | ||
34 | property alias cfg_menuItems: configButtons.menuItems | 34 | property alias cfg_menuItems: configButtons.menuItems | ||
35 | 35 | | |||
36 | Kirigami.FormLayout { | 36 | Kirigami.FormLayout { | ||
37 | | ||||
38 | Button { | 37 | Button { | ||
39 | id: iconButton | 38 | id: iconButton | ||
40 | 39 | | |||
41 | Kirigami.FormData.label: i18n("Icon:") | 40 | Kirigami.FormData.label: i18n("Icon:") | ||
42 | 41 | | |||
43 | implicitWidth: previewFrame.width + units.smallSpacing * 2 | 42 | implicitWidth: previewFrame.width + units.smallSpacing * 2 | ||
44 | implicitHeight: previewFrame.height + units.smallSpacing * 2 | 43 | implicitHeight: previewFrame.height + units.smallSpacing * 2 | ||
45 | 44 | | |||
▲ Show 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 104 | CheckBox { | |||
106 | id: useExtraRunners | 105 | id: useExtraRunners | ||
107 | text: i18n("Expand search to bookmarks, files and emails") | 106 | text: i18n("Expand search to bookmarks, files and emails") | ||
108 | } | 107 | } | ||
109 | 108 | | |||
110 | CheckBox { | 109 | CheckBox { | ||
111 | id: alphaSort | 110 | id: alphaSort | ||
112 | text: i18n("Sort alphabetically") | 111 | text: i18n("Sort alphabetically") | ||
113 | } | 112 | } | ||
114 | | ||||
115 | Item { | | |||
116 | Kirigami.FormData.isSection: true | | |||
117 | } | | |||
118 | } | 113 | } | ||
119 | 114 | | |||
120 | ConfigButtons { | 115 | ConfigButtons { | ||
121 | id: configButtons | 116 | id: configButtons | ||
117 | Layout.alignment: Qt.AlignHCenter | ||||
122 | } | 118 | } | ||
123 | | ||||
124 | Label { | 119 | Label { | ||
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… | |||||
125 | Layout.fillWidth: true | 120 | Layout.fillWidth: true | ||
126 | text: i18n("Drag tabs between the boxes to show/hide them, or reorder the visible tabs by dragging.") | 121 | text: i18n("Drag tabs between the boxes to show/hide them, or reorder the visible tabs by dragging.") | ||
127 | wrapMode: Text.WordWrap | 122 | wrapMode: Text.WordWrap | ||
128 | } | 123 | } | ||
124 | | ||||
125 | Item { | ||||
126 | Layout.fillHeight: true | ||||
127 | } | ||||
129 | } | 128 | } |
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.