From 607879a512c204e8cf19506e711e0e53028c389c Mon Sep 17 00:00:00 2001 From: davidsastresas Date: Sun, 17 Mar 2024 12:51:53 +0100 Subject: [PATCH] ToolStrip.qml: expose fontSize for ToolStripHoverButton --- src/QmlControls/ToolStrip.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/QmlControls/ToolStrip.qml b/src/QmlControls/ToolStrip.qml index ad5602c..3366ddb 100644 --- a/src/QmlControls/ToolStrip.qml +++ b/src/QmlControls/ToolStrip.qml @@ -25,6 +25,7 @@ Rectangle { property alias model: repeater.model property real maxHeight ///< Maximum height for control, determines whether text is hidden to make control shorter property alias title: titleLabel.text + property var fontSize: ScreenTools.smallFontPointSize property var _dropPanel: dropPanel @@ -81,7 +82,7 @@ Rectangle { anchors.right: toolStripColumn.right height: width radius: ScreenTools.defaultFontPixelWidth / 2 - fontPointSize: ScreenTools.smallFontPointSize + fontPointSize: _root.fontSize toolStripAction: modelData dropPanel: _dropPanel onDropped: _root.dropped(index)