correct icon layout
correct icon layout on buttons taller than wide
This commit is contained in:
parent
603360bea3
commit
90799fbbe2
@ -353,7 +353,7 @@ Item {
|
||||
PlasmaCore.IconItem {
|
||||
id: icon
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: valid ? parent.height: 0
|
||||
width: valid ? Math.min(parent.width, parent.height): 0
|
||||
height: width
|
||||
active: delegate.item.hasOverState && mouse.containsMouse
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user