Align configure button consistently across delegates
Summary: Currently the configure button is aligned to the win decoration in the background. This is bound to 40 - the inactive decorations shadow. This means the configure button ends up in different places across each item, looking a bit weird and potentially not even on top of the right delegate. This patch aligns the configure button relative to the overall delegate so that it's in the same place on every item Test Plan: Looked at KCM Reviewers: #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D3526 BUG: 372685
This commit is contained in:
parent
47a7f24ed5
commit
d0e0f6c88c
1 changed files with 3 additions and 2 deletions
|
@ -107,8 +107,9 @@ ScrollView {
|
|||
Button {
|
||||
id: configureButton
|
||||
anchors {
|
||||
left: inactivePreview.left
|
||||
bottom: inactivePreview.bottom
|
||||
left: parent.left
|
||||
bottom: parent.bottom
|
||||
margins: 20
|
||||
}
|
||||
enabled: model["configureable"]
|
||||
iconName: "configure"
|
||||
|
|
Loading…
Reference in a new issue