diff options
Diffstat (limited to 'components/StandardButton.qml')
| -rw-r--r-- | components/StandardButton.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/StandardButton.qml b/components/StandardButton.qml index b7e452f5..9a164b8b 100644 --- a/components/StandardButton.qml +++ b/components/StandardButton.qml @@ -1,6 +1,7 @@ import QtQuick 2.0 Item { + id: button height: 37 property string shadowPressedColor property string shadowReleasedColor @@ -8,6 +9,7 @@ Item { property string releasedColor property string icon: "" property string textColor: "#FFFFFF" + property int fontSize: 12 property alias text: label.text signal clicked() @@ -39,7 +41,7 @@ Item { font.family: "Arial" font.bold: true font.letterSpacing: -1 - font.pixelSize: 12 + font.pixelSize: button.fontSize color: parent.textColor visible: parent.icon === "" } |
