diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-31 03:25:20 +0200 |
|---|---|---|
| committer | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-31 03:25:20 +0200 |
| commit | e638ed0272ca042f3ad77b680665a91ed8a35cce (patch) | |
| tree | 1c91223dd243221d644a0b22d2dc94563b264fdf /components/InlineButton.qml | |
| parent | 959c2fcc32d515f90cb39933689a37418197a095 (diff) | |
| download | monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.gz monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.xz monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.zip | |
Explicitly import MoneroComponents; prevent namespace pollution
Diffstat (limited to 'components/InlineButton.qml')
| -rw-r--r-- | components/InlineButton.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/InlineButton.qml b/components/InlineButton.qml index 77f88f3d..cdbcd2ef 100644 --- a/components/InlineButton.qml +++ b/components/InlineButton.qml @@ -28,7 +28,8 @@ import QtQuick 2.0 import QtQuick.Layouts 1.1 -import "." 1.0 + +import "../components" as MoneroComponents Item { id: inlineButton @@ -51,7 +52,7 @@ Item { Rectangle{ id: rect - color: Style.buttonBackgroundColorDisabled + color: MoneroComponents.Style.buttonBackgroundColorDisabled border.color: "black" height: 28 * scaleRatio width: inlineText.width + 22 * scaleRatio @@ -62,7 +63,7 @@ Item { Text { id: inlineText - font.family: Style.fontBold.name + font.family: MoneroComponents.Style.fontBold.name font.bold: true font.pixelSize: 16 * scaleRatio color: "black" |
