Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/ConfigIcons.qml
Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Line(s) | 66 | Kirigami.FormLayout { | |||
---|---|---|---|---|---|
221 | } | 221 | } | ||
222 | 222 | | |||
223 | 223 | | |||
224 | // Size section | 224 | // Size section | ||
225 | Slider { | 225 | Slider { | ||
226 | id: iconSize | 226 | id: iconSize | ||
227 | 227 | | |||
228 | Layout.fillWidth: true | 228 | Layout.fillWidth: true | ||
229 | visible: !isPopup || viewMode.currentIndex === 1 | 229 | visible: true //!isPopup || viewMode.currentIndex === 1 | ||
ngraham: Don't comment out code, just remove it (applies to the next few changes too) | |||||
230 | 230 | | |||
231 | Kirigami.FormData.label: i18n("Icon size:") | 231 | Kirigami.FormData.label: i18n("Icon size:") | ||
232 | 232 | | |||
233 | from: 0 | 233 | from: 0 | ||
234 | to: 5 | 234 | to: 5 | ||
235 | stepSize: 1 | 235 | stepSize: 1 | ||
236 | snapMode: Slider.SnapAlways | 236 | snapMode: Slider.SnapAlways | ||
237 | } | 237 | } | ||
238 | 238 | | |||
239 | RowLayout { | 239 | RowLayout { | ||
240 | Layout.fillWidth: true | 240 | Layout.fillWidth: true | ||
241 | 241 | | |||
242 | Label { | 242 | Label { | ||
243 | Layout.alignment: Qt.AlignLeft | 243 | Layout.alignment: Qt.AlignLeft | ||
244 | visible: !isPopup || viewMode.currentIndex === 1 | 244 | visible: true //!isPopup || viewMode.currentIndex === 1 | ||
245 | 245 | | |||
246 | text: i18n("Small") | 246 | text: i18n("Small") | ||
247 | } | 247 | } | ||
248 | Item { | 248 | Item { | ||
249 | Layout.fillWidth: true | 249 | Layout.fillWidth: true | ||
250 | } | 250 | } | ||
251 | Label { | 251 | Label { | ||
252 | Layout.alignment: Qt.AlignRight | 252 | Layout.alignment: Qt.AlignRight | ||
253 | visible: !isPopup || viewMode.currentIndex === 1 | 253 | visible: true //!isPopup || viewMode.currentIndex === 1 | ||
254 | 254 | | |||
255 | text: i18n("Large") | 255 | text: i18n("Large") | ||
256 | } | 256 | } | ||
257 | } | 257 | } | ||
258 | 258 | | |||
259 | ComboBox { | 259 | ComboBox { | ||
260 | id: labelWidth | 260 | id: labelWidth | ||
261 | visible: !isPopup || viewMode.currentIndex === 1 | 261 | visible: !isPopup || viewMode.currentIndex === 1 | ||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |
Don't comment out code, just remove it (applies to the next few changes too)