From 9afd1788d00463a70e29e3f75fad4c2e2dc41f01 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Mon, 24 Sep 2012 03:53:50 +0200 Subject: [PATCH] brmbar v3 BarButton: Fix fontSize property --- brmbar3/brmbar-gui-qt4/BarButton.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brmbar3/brmbar-gui-qt4/BarButton.qml b/brmbar3/brmbar-gui-qt4/BarButton.qml index a202d4c..19177b0 100644 --- a/brmbar3/brmbar-gui-qt4/BarButton.qml +++ b/brmbar3/brmbar-gui-qt4/BarButton.qml @@ -9,7 +9,7 @@ Rectangle { border.color: "#ffffff" property string text: "Button" - property int fontSize: 46 + property int fontSize: 44 signal buttonClick onButtonClick: { /* Supplied by component user. */ } @@ -18,7 +18,7 @@ Rectangle { id: text1 color: "#ffffff" text: parent.text - font.pointSize: 44 + font.pointSize: parent.fontSize scale: if (!mousearea1.pressed) { 1 } else { 0.95 } horizontalAlignment: Text.AlignHCenter anchors.fill: parent