From 0df4823e8b324493a193960bbe7eb0251d81c942 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sat, 12 Sep 2015 22:49:00 +0200 Subject: [PATCH] Fix eliding button text Setting minimumWidth to implicitWidth forces overflowing text instead of eliding it. REVIEW: 125201 --- src/declarativeimports/plasmastyle/ButtonStyle.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/declarativeimports/plasmastyle/ButtonStyle.qml b/src/declarativeimports/plasmastyle/ButtonStyle.qml index 23adbcb49..a242186ab 100644 --- a/src/declarativeimports/plasmastyle/ButtonStyle.qml +++ b/src/declarativeimports/plasmastyle/ButtonStyle.qml @@ -69,7 +69,6 @@ QtQuickControlStyle.ButtonStyle { PlasmaComponents.Label { id: label - Layout.minimumWidth: implicitWidth text: QtQuickControlsPrivate.StyleHelpers.stylizeMnemonics(control.text) font: control.font || theme.defaultFont visible: control.text != ""