Fix text overflowing from compacted HButton
This commit is contained in:
parent
e2696ea928
commit
eb9f02df31
|
@ -84,6 +84,7 @@ HRectangle {
|
||||||
iconName: modelData.iconName
|
iconName: modelData.iconName
|
||||||
onClicked: buttonCallbacks[modelData.name](button)
|
onClicked: buttonCallbacks[modelData.name](button)
|
||||||
|
|
||||||
|
clip: true
|
||||||
Layout.maximumWidth: bannerButtons.compact ? height : -1
|
Layout.maximumWidth: bannerButtons.compact ? height : -1
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user