Fix text overflowing from compacted HButton

This commit is contained in:
miruka 2019-07-10 15:00:34 -04:00
parent e2696ea928
commit eb9f02df31

View File

@ -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
} }