Changeset View
Changeset View
Standalone View
Standalone View
wallpapers/image/imagepackage/contents/ui/config.qml
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 33 | ColumnLayout { | |||
---|---|---|---|---|---|
71 | 71 | | |||
72 | TextMetrics { | 72 | TextMetrics { | ||
73 | id: textMetrics | 73 | id: textMetrics | ||
74 | text: "00" | 74 | text: "00" | ||
75 | } | 75 | } | ||
76 | 76 | | |||
77 | Row { | 77 | Row { | ||
78 | //x: formAlignment - positionLabel.paintedWidth | 78 | //x: formAlignment - positionLabel.paintedWidth | ||
79 | spacing: Kirigami.Units.largeSpacing / 2 | 79 | spacing: Kirigami.Units.smallSpacing | ||
80 | QtControls2.Label { | 80 | QtControls2.Label { | ||
81 | id: positionLabel | 81 | id: positionLabel | ||
82 | width: formAlignment - Kirigami.Units.largeSpacing | 82 | width: formAlignment - Math.round(Kirigami.Units.largeSpacing * 1.6) | ||
83 | anchors { | 83 | anchors { | ||
84 | verticalCenter: resizeComboBox.verticalCenter | 84 | verticalCenter: resizeComboBox.verticalCenter | ||
85 | } | 85 | } | ||
86 | text: i18nd("plasma_wallpaper_org.kde.image", "Positioning:") | 86 | text: i18nd("plasma_wallpaper_org.kde.image", "Positioning:") | ||
87 | horizontalAlignment: Text.AlignRight | 87 | horizontalAlignment: Text.AlignRight | ||
88 | } | 88 | } | ||
89 | 89 | | |||
90 | // TODO: port to QQC2 version once we've fixed https://bugs.kde.org/show_bug.cgi?id=403153 | 90 | // TODO: port to QQC2 version once we've fixed https://bugs.kde.org/show_bug.cgi?id=403153 | ||
▲ Show 20 Lines • Show All 281 Lines • Show Last 20 Lines |