diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2017-12-08 01:51:22 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-29 23:04:02 +0100 |
| commit | 328eb32a24eef9a59da7bd2e2f1bf22959783f45 (patch) | |
| tree | 6dbafe8c82d9c1f2578fba4f565aa75d53dcb84a /components/InlineButton.qml | |
| parent | f48cd1b82b758c7b4e396e523172f66b9b371c5b (diff) | |
| download | monzero-gui-328eb32a24eef9a59da7bd2e2f1bf22959783f45.tar.gz monzero-gui-328eb32a24eef9a59da7bd2e2f1bf22959783f45.tar.xz monzero-gui-328eb32a24eef9a59da7bd2e2f1bf22959783f45.zip | |
Various QML development
Diffstat (limited to 'components/InlineButton.qml')
| -rw-r--r-- | components/InlineButton.qml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/components/InlineButton.qml b/components/InlineButton.qml index 11439369..77f88f3d 100644 --- a/components/InlineButton.qml +++ b/components/InlineButton.qml @@ -28,10 +28,11 @@ import QtQuick 2.0 import QtQuick.Layouts 1.1 +import "." 1.0 Item { id: inlineButton - height: 32 * scaleRatio + height: rect.height * scaleRatio property string shadowPressedColor: "#B32D00" property string shadowReleasedColor: "#FF4304" property string pressedColor: "#FF4304" @@ -50,10 +51,10 @@ Item { Rectangle{ id: rect - color: rect.enabled ? "#808080" : "#3b3b3b" + color: Style.buttonBackgroundColorDisabled border.color: "black" - height: 32 - width: inlineText.width + 22 + height: 28 * scaleRatio + width: inlineText.width + 22 * scaleRatio radius: 4 anchors.top: parent.top |
