diff options
| author | dsc <xmrdsc@protonmail.com> | 2019-04-25 21:09:23 +0200 |
|---|---|---|
| committer | dsc <xmrdsc@protonmail.com> | 2019-04-25 21:09:23 +0200 |
| commit | 62285b01dc77ef14e4b5b9cc291e34162321ad89 (patch) | |
| tree | 5ced9d312817ca03be17c242d1e2bd478b4fd1e5 /components/WarningBox.qml | |
| parent | e1c429110f5f2321ad0113a8097eab966d935dcd (diff) | |
| download | monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.tar.gz monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.tar.xz monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.zip | |
Remove scaleRatio
Diffstat (limited to 'components/WarningBox.qml')
| -rw-r--r-- | components/WarningBox.qml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/components/WarningBox.qml b/components/WarningBox.qml index 9c7a1a91..91f29bed 100644 --- a/components/WarningBox.qml +++ b/components/WarningBox.qml @@ -8,7 +8,7 @@ Rectangle { id: root property alias text: content.text property alias textColor: content.color - property int fontSize: 15 * scaleRatio + property int fontSize: 15 Layout.fillWidth: true Layout.preferredHeight: warningLayout.height @@ -28,12 +28,12 @@ Rectangle { Image { Layout.alignment: Qt.AlignVCenter - Layout.preferredHeight: 33 * scaleRatio - Layout.preferredWidth: 33 * scaleRatio - Layout.rightMargin: 12 * scaleRatio - Layout.leftMargin: 18 * scaleRatio - Layout.topMargin: 12 * scaleRatio - Layout.bottomMargin: 12 * scaleRatio + Layout.preferredHeight: 33 + Layout.preferredWidth: 33 + Layout.rightMargin: 12 + Layout.leftMargin: 18 + Layout.topMargin: 12 + Layout.bottomMargin: 12 source: "qrc:///images/warning.png" } @@ -48,10 +48,10 @@ Rectangle { textFormat: Text.RichText wrapMode: Text.WordWrap textMargin: 0 - leftPadding: 4 * scaleRatio - rightPadding: 18 * scaleRatio - topPadding: 10 * scaleRatio - bottomPadding: 10 * scaleRatio + leftPadding: 4 + rightPadding: 18 + topPadding: 10 + bottomPadding: 10 readOnly: true onLinkActivated: root.linkActivated(); |
