Commit 5e9cd19c authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

[potd wallpaper] Align labels in config UI centered to input widgets

parent 207034d3
......@@ -65,8 +65,8 @@ ColumnLayout {
QtControls.Label {
width: formAlignment - units.largeSpacing
horizontalAlignment: Text.AlignRight
text: i18ndc("plasma_wallpaper_org.kde.potd", "@label:listbox", "Providers:")
anchors.verticalCenter: providerComboBox.verticalCenter
text: i18ndc("plasma_wallpaper_org.kde.potd", "@label:listbox", "Providers:")
}
QtControls.ComboBox {
id: providerComboBox
......@@ -84,13 +84,10 @@ ColumnLayout {
//x: formAlignment - positionLabel.paintedWidth
spacing: units.largeSpacing / 2
QtControls.Label {
id: positionLabel
width: formAlignment - units.largeSpacing
anchors {
verticalCenter: resizeComboBox.verticalCenter
}
text: i18ndc("plasma_wallpaper_org.kde.potd", "@label:listbox", "Positioning:")
horizontalAlignment: Text.AlignRight
anchors.verticalCenter: resizeComboBox.verticalCenter
text: i18ndc("plasma_wallpaper_org.kde.potd", "@label:listbox", "Positioning:")
}
QtControls.ComboBox {
id: resizeComboBox
......@@ -140,6 +137,7 @@ ColumnLayout {
QtControls.Label {
width: formAlignment - units.largeSpacing
horizontalAlignment: Text.AlignRight
anchors.verticalCenter: colorButton.verticalCenter
text: i18ndc("plasma_wallpaper_org.kde.potd", "@label:chooser", "Background color:")
}
KQuickControls.ColorButton {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment