Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
2b49b071
Commit
2b49b071
authored
Oct 25, 2020
by
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
parent
7cdf189f
Changes
1
Hide whitespace changes
Inline
Side-by-side
desktoppackage/contents/configuration/ConfigurationContainmentAppearance.qml
View file @
2b49b071
...
...
@@ -91,7 +91,7 @@ ColumnLayout {
Kirigami.FormData.label
:
i18nd
(
"
plasma_shell_org.kde.plasma.desktop
"
,
"
Layout:
"
)
enabled
:
!
plasmoid
.
immutable
model
:
configDialog
.
containmentPluginsConfigModel
w
idth
:
theme
.
mSize
(
theme
.
defaultFont
).
width
*
24
implicitW
idth
:
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
w
idth
:
theme
.
mSize
(
theme
.
defaultFont
).
width
*
24
implicitW
idth
:
theme
.
mSize
(
theme
.
defaultFont
).
width
*
24
textRole
:
"
name
"
onActivated
:
{
var
model
=
configDialog
.
wallpaperConfigModel
.
get
(
currentIndex
)
...
...
David Edmundson
@davidedmundson
mentioned in commit
a6414ab2
·
Oct 26, 2020
mentioned in commit
a6414ab2
mentioned in commit a6414ab28cd77d7a51b766bbb9da5ec968ab9c6e
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment