Fix misalignment of images if the displayName spans to next line

When the displayname of the app is long and it spans to the next line, it was pushing the icon up in the column, making it seem like it is misaligned. This is now fixed and the icons should be aligned regardless if the display name has one or two lines.

CURA-8421
This commit is contained in:
Konstantinos Karmas 2021-09-20 16:42:22 +02:00
parent 15884a66e8
commit a9968acd6d
3 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ Item
background: UM.RecolorImage
{
width: UM.Theme.getSize("small_button_icon").width
width: parent.width
height: width
anchors.verticalCenter: appSwitcherButton.verticalCenter
anchors.horizontalCenter: appSwitcherButton.horizontalCenter