Commit a6414ab2 authored by David Edmundson's avatar David Edmundson
Browse files

[desktoppackage] Don't set a widget on an item in a layout

Setting width in a layout is always wrong.

BUG: 428214


(cherry picked from commit 2b49b071)
parent 52981718
......@@ -90,7 +90,7 @@ ColumnLayout {
Kirigami.FormData.label: i18nd("plasma_shell_org.kde.plasma.desktop", "Layout:")
enabled: !plasmoid.immutable
model: configDialog.containmentPluginsConfigModel
width: theme.mSize(theme.defaultFont).width * 24
implicitWidth: theme.mSize(theme.defaultFont).width * 24
textRole: "name"
onActivated: {
var model = configDialog.containmentPluginsConfigModel.get(currentIndex)
......@@ -107,7 +107,7 @@ ColumnLayout {
id: wallpaperComboBox
Layout.preferredWidth: Math.max(implicitWidth, pluginComboBox.implicitWidth)
model: configDialog.wallpaperConfigModel
width: theme.mSize(theme.defaultFont).width * 24
implicitWidth: theme.mSize(theme.defaultFont).width * 24
textRole: "name"
onActivated: {
var model = configDialog.wallpaperConfigModel.get(currentIndex)
......
Markdown is supported
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