diff options
| author | marcin <z.krzysztoff7@gmail.com> | 2014-07-19 16:07:40 +0200 |
|---|---|---|
| committer | marcin <z.krzysztoff7@gmail.com> | 2014-07-19 16:07:40 +0200 |
| commit | 1eb08fe26aa99efbb92487f210bbcde6f7b2ce12 (patch) | |
| tree | 41e0300f780e82fc48a88cd5c172ff0eeb3a6a1c /components/StandardButton.qml | |
| parent | ce7e7fd38ac96b80f560e1a820e09b1c69d791c6 (diff) | |
| download | monzero-gui-1eb08fe26aa99efbb92487f210bbcde6f7b2ce12.tar.gz monzero-gui-1eb08fe26aa99efbb92487f210bbcde6f7b2ce12.tar.xz monzero-gui-1eb08fe26aa99efbb92487f210bbcde6f7b2ce12.zip | |
simplified window v1
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 === "" } |
