From ea59745a584416ab5fde94f831c02a2d7eb08436 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 22 Oct 2012 11:18:16 +0200 Subject: [PATCH] export the font, since qactions have them too --- .../plasmacomponents/platformcomponents/touch/MenuItem.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/declarativeimports/plasmacomponents/platformcomponents/touch/MenuItem.qml b/declarativeimports/plasmacomponents/platformcomponents/touch/MenuItem.qml index 2717b7932..5720d072e 100644 --- a/declarativeimports/plasmacomponents/platformcomponents/touch/MenuItem.qml +++ b/declarativeimports/plasmacomponents/platformcomponents/touch/MenuItem.qml @@ -50,6 +50,7 @@ Item { signal clicked property bool checkable: false + property alias font: textArea.font implicitWidth: textArea.paintedWidth + iconLoader.width*2 + 6 implicitHeight: Math.max(theme.smallIconSize, textArea.paintedHeight + 6)