Commit 2b49b071 authored by David Edmundson's avatar David Edmundson

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

Setting width in a layout is always wrong.

BUG: 428214
parent 7cdf189f
......@@ -91,7 +91,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)
......@@ -108,7 +108,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