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/StandardDialog.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/StandardDialog.qml')
| -rw-r--r-- | components/StandardDialog.qml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index ba5b198e..b8694d9d 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -97,23 +97,23 @@ Rectangle { } // TODO: implement without hardcoding sizes - width: isMobile ? screenWidth : 520 * scaleRatio - height: isMobile ? screenHeight : 380 * scaleRatio + width: isMobile ? screenWidth : 520 + height: isMobile ? screenHeight : 380 ColumnLayout { id: mainLayout - spacing: 10 * scaleRatio + spacing: 10 anchors.fill: parent - anchors.margins: (isMobile? 17 : 20) * scaleRatio + anchors.margins: (isMobile? 17 : 20) RowLayout { id: column - Layout.topMargin: 14 * scaleRatio + Layout.topMargin: 14 Layout.fillWidth: true MoneroComponents.Label { id: dialogTitle - fontSize: 18 * scaleRatio + fontSize: 18 fontFamily: "Arial" color: MoneroComponents.Style.defaultFontColor } @@ -122,7 +122,7 @@ Rectangle { Item { Layout.fillHeight: true Layout.fillWidth: true - Layout.preferredHeight: 240 * scaleRatio + Layout.preferredHeight: 240 Flickable { id: flickable @@ -137,7 +137,7 @@ Rectangle { font.family: MoneroComponents.Style.fontLight.name textFormat: TextEdit.AutoText readOnly: true - font.pixelSize: 14 * scaleRatio + font.pixelSize: 14 selectByMouse: false wrapMode: TextEdit.Wrap color: MoneroComponents.Style.defaultFontColor @@ -162,7 +162,7 @@ Rectangle { // Ok/Cancel buttons RowLayout { id: buttons - spacing: 60 * scaleRatio + spacing: 60 Layout.alignment: Qt.AlignHCenter MoneroComponents.StandardButton { @@ -191,14 +191,14 @@ Rectangle { id: closeButton anchors.top: parent.top anchors.right: parent.right - width: 48 * scaleRatio - height: 48 * scaleRatio + width: 48 + height: 48 color: "transparent" MoneroEffects.ImageMask { anchors.centerIn: parent - width: 16 * scaleRatio - height: 16 * scaleRatio + width: 16 + height: 16 image: MoneroComponents.Style.titleBarCloseSource color: MoneroComponents.Style.defaultFontColor opacity: 0.75 @@ -218,7 +218,7 @@ Rectangle { // window borders Rectangle{ - width: 1 * scaleRatio + width: 1 color: MoneroComponents.Style.grey anchors.left: parent.left anchors.top: parent.top @@ -226,7 +226,7 @@ Rectangle { } Rectangle{ - width: 1 * scaleRatio + width: 1 color: MoneroComponents.Style.grey anchors.right: parent.right anchors.top: parent.top @@ -234,7 +234,7 @@ Rectangle { } Rectangle{ - height: 1 * scaleRatio + height: 1 color: MoneroComponents.Style.grey anchors.left: parent.left anchors.top: parent.top @@ -242,7 +242,7 @@ Rectangle { } Rectangle{ - height: 1 * scaleRatio + height: 1 color: MoneroComponents.Style.grey anchors.left: parent.left anchors.bottom: parent.bottom |
