Commit caa27dcf authored by Filip Fila's avatar Filip Fila 🌆 Committed by Nate Graham
Browse files

[Image wallpaper] Make the Positioning combobox as equally wide as the other comboboxes

The wallpaper infrastructure sutures multiple form layouts.

The image wallpaper adds its own Positioning combobox, but the combobox's width does not match that of the two comboboxes right above it.

This patch makes the Positioning combobox as wide as the other two by resuing code already present in ConfigurationContainmentAppearance.qml.

(cherry picked from commit d375034d)
parent 73c104ac
...@@ -100,6 +100,7 @@ ColumnLayout { ...@@ -100,6 +100,7 @@ ColumnLayout {
twinFormLayouts: parentLayout twinFormLayouts: parentLayout
QtControls2.ComboBox { QtControls2.ComboBox {
id: resizeComboBox id: resizeComboBox
Layout.preferredWidth: Math.max(implicitWidth, wallpaperComboBox.implicitWidth)
Kirigami.FormData.label: i18nd("plasma_wallpaper_org.kde.image", "Positioning:") Kirigami.FormData.label: i18nd("plasma_wallpaper_org.kde.image", "Positioning:")
model: [ model: [
{ {
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