From 6b0979172fad496a77cd9919195791ee262c1cba Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 3 Dec 2021 11:50:33 +0100 Subject: [PATCH] Slightly adjust width of button This is more in line with what you see, so you can click on the icon properly to open the per-object settings panel. And the text gets properly elided where the icon starts. --- resources/qml/ObjectItemButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/ObjectItemButton.qml b/resources/qml/ObjectItemButton.qml index 1637b8d0cd..23c11dd430 100644 --- a/resources/qml/ObjectItemButton.qml +++ b/resources/qml/ObjectItemButton.qml @@ -85,7 +85,7 @@ Button right: parent.right rightMargin: 0 } - width: childrenRect.width + width: contentItem.width height: parent.height padding: 0 leftPadding: UM.Theme.getSize("thin_margin").width