fix: show full text when provided for iconbutton
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ Button {
|
|||||||
font.family: Fonts.dotrice
|
font.family: Fonts.dotrice
|
||||||
font.bold: true
|
font.bold: true
|
||||||
|
|
||||||
implicitWidth: Math.min(implicitBackgroundWidth + leftInset + rightInset, implicitContentWidth + leftPadding + rightPadding)
|
implicitWidth: control.text !== "" ? Math.max(implicitBackgroundWidth + leftInset + rightInset, implicitContentWidth + leftPadding + rightPadding) : Math.min(implicitBackgroundWidth + leftInset + rightInset, implicitContentWidth + leftPadding + rightPadding)
|
||||||
implicitHeight: Math.min(implicitBackgroundHeight + topInset + bottomInset, implicitContentHeight + topPadding + bottomPadding)
|
implicitHeight: Math.min(implicitBackgroundHeight + topInset + bottomInset, implicitContentHeight + topPadding + bottomPadding)
|
||||||
|
|
||||||
required property string source
|
required property string source
|
||||||
|
|||||||
Reference in New Issue
Block a user