diff options
author | Papoteur <papoteur@mageia.org> | 2019-05-17 14:22:44 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2019-05-17 14:30:27 +0200 |
commit | 68d8004ce23d61b96c8076dad49d79fa8e532a55 (patch) | |
tree | c2f0820dd29c6a6a2c99101ed50f91822ad94f9a /qml/mw-ui.qml | |
parent | 4ca11997cd6b278ad8a919bc6f0e2f1c47a6f392 (diff) | |
download | mageiawelcome-68d8004ce23d61b96c8076dad49d79fa8e532a55.tar mageiawelcome-68d8004ce23d61b96c8076dad49d79fa8e532a55.tar.gz mageiawelcome-68d8004ce23d61b96c8076dad49d79fa8e532a55.tar.bz2 mageiawelcome-68d8004ce23d61b96c8076dad49d79fa8e532a55.tar.xz mageiawelcome-68d8004ce23d61b96c8076dad49d79fa8e532a55.zip |
Resize to maximal available space if smaller than default
Diffstat (limited to 'qml/mw-ui.qml')
-rw-r--r-- | qml/mw-ui.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index ed1623f..d2bf720 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -11,14 +11,15 @@ import QtQuick.Dialogs 1.1 Rectangle { id: box - width: 1000 * Screen.devicePixelRatio; height: 650 * Screen.devicePixelRatio + //width: 1000 * Screen.devicePixelRatio; height: 650 * Screen.devicePixelRatio property alias view: view - //: For Right to Left language, set this string to RTL + //: For Right to Left language, set this string to RTL, else keep it untranslated property var direction: qsTr("LTR") LayoutMirroring.enabled: (direction == "LTR" ? false : true) // for tests //LayoutMirroring.enabled: true + // TO-DO GridLayout RowLayout are not sensible to mirroring, change to other layout tools LayoutMirroring.childrenInherit: true Settings { |