diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-08-07 12:16:04 +0200 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-11-03 16:57:11 +0100 |
| commit | a57da2f0cdd5e4b48936cf3d0973df04beab0cd9 (patch) | |
| tree | 7aac695702917ed42aed59ff8c2eff5d57aa2af4 /MiddlePanel.qml | |
| parent | 316ddf1c05208496481ba287eb2bf5ec04651989 (diff) | |
| download | monzero-gui-a57da2f0cdd5e4b48936cf3d0973df04beab0cd9.tar.gz monzero-gui-a57da2f0cdd5e4b48936cf3d0973df04beab0cd9.tar.xz monzero-gui-a57da2f0cdd5e4b48936cf3d0973df04beab0cd9.zip | |
MiddlePanel scaling
Diffstat (limited to 'MiddlePanel.qml')
| -rw-r--r-- | MiddlePanel.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml index 1ffd3132..18568f28 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -29,6 +29,7 @@ import QtQml 2.0 import QtQuick 2.2 +// QtQuick.Controls 2.0 isn't stable enough yet. Needs more testing. //import QtQuick.Controls 2.0 import QtQuick.Controls 1.4 import QtQuick.Layouts 1.1 @@ -47,7 +48,7 @@ Rectangle { property string balanceText property string unlockedBalanceLabelText: qsTr("Unlocked Balance") + translationManager.emptyString property string unlockedBalanceText - property int minHeight: (appWindow.height > 800) ? appWindow.height : 800 + property int minHeight: (appWindow.height > 800) ? appWindow.height : 800 * scaleRatio // property int headerHeight: header.height property Transfer transferView: Transfer { } @@ -106,7 +107,7 @@ Rectangle { }, State { name: "Transfer" PropertyChanges { target: root; currentView: transferView } - PropertyChanges { target: mainFlickable; contentHeight: 1000 } + PropertyChanges { target: mainFlickable; contentHeight: 1000 * scaleRatio } }, State { name: "Receive" PropertyChanges { target: root; currentView: receiveView } @@ -126,7 +127,7 @@ Rectangle { }, State { name: "Settings" PropertyChanges { target: root; currentView: settingsView } - PropertyChanges { target: mainFlickable; contentHeight: 1200 } + PropertyChanges { target: mainFlickable; contentHeight: 1200 * scaleRatio } }, State { name: "Mining" PropertyChanges { target: root; currentView: miningView } |
