Correct custom bar icon bounds
This commit is contained in:
4 files changed
+142
-3
No files matched your search
@@ -25,6 +25,7 @@ WidgetButton {
|
||||
readonly property int glyphFontSize: glyph.visible ? glyph.renderedFontSize : 0
|
||||
readonly property real componentPaintedWidth: customIcon.visible ? customIcon.paintedWidth : 0
|
||||
readonly property real componentPaintedHeight: customIcon.visible ? customIcon.paintedHeight : 0
|
||||
readonly property rect componentSourceBounds: customIcon.sourceBounds
|
||||
|
||||
labelVisible: false
|
||||
hasVisualContent: text !== "" || iconComponent !== null || labelText !== ""
|
||||
|
||||
Reference in new issue
Block a user