Add Default and RememberAccount? pages

This commit is contained in:
miruka
2019-04-27 21:07:20 -04:00
parent 0db5a3233d
commit 8a714fb7a0
8 changed files with 103 additions and 23 deletions

View File

@@ -33,8 +33,12 @@ HScalingBox {
}
}
Item { Layout.fillHeight: true }
ColumnLayout { id: interfaceBody }
Item { Layout.fillHeight: true }
HRowLayout {
Repeater {
id: interfaceButtonsRepeater

View File

@@ -1,8 +1,6 @@
import QtQuick 2.7
Rectangle {
property var container: parent
property real widthForHeight: 0.75
property int baseHeight: 300
property int startScalingUpAboveHeight: 1080
@@ -11,7 +9,7 @@ Rectangle {
readonly property int margins: baseHeight * 0.03
color: Qt.hsla(1, 1, 1, 0.3)
height: Math.min(container.height, baseHeight)
width: Math.min(container.width, baseWidth)
scale: Math.max(1, container.height / startScalingUpAboveHeight)
height: Math.min(parent.height, baseHeight)
width: Math.min(parent.width, baseWidth)
scale: Math.max(1, parent.height / startScalingUpAboveHeight)
}