Merge "Fix binding loop in Toolbuttonstyle"
This commit is contained in:
commit
72caf0b9f0
@ -170,7 +170,7 @@ QtQuickControlStyle.ButtonStyle {
|
|||||||
|
|
||||||
implicitWidth: {
|
implicitWidth: {
|
||||||
if (control.text.length == 0) {
|
if (control.text.length == 0) {
|
||||||
height;
|
implicitHeight;
|
||||||
} else {
|
} else {
|
||||||
Math.max(theme.mSize(theme.defaultFont).width*12, style.minimumWidth);
|
Math.max(theme.mSize(theme.defaultFont).width*12, style.minimumWidth);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user