summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-27 10:55:54 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-27 10:55:54 +0800
commit66ae26cf69793e89c95b73f0488a3da4fb7394c7 (patch)
tree5704395d2de63c67f2bba77e65cc40b1b4fa3017
parentf743b9e09b110c0be7d342994c535184386a722e (diff)
Revert "Reindented and removed implicit code"
This reverts commit 0791cac4bc4bd9fd6224f82efcdf07e9973a679d.
-rw-r--r--Login.qml3
-rw-r--r--main.qml22
2 files changed, 16 insertions, 9 deletions
diff --git a/Login.qml b/Login.qml
index d39c60d..1e450ce 100644
--- a/Login.qml
+++ b/Login.qml
@@ -1,6 +1,9 @@
import QtQuick 2.12
LoginForm {
+ width: appWindow.width
+ height: appWindow.height
+
emailButton {
onClicked: {
stackView.push("qrc:/pages/Email.qml")
diff --git a/main.qml b/main.qml
index e0ee73f..8fbb800 100644
--- a/main.qml
+++ b/main.qml
@@ -2,13 +2,17 @@ import QtQuick 2.12
import QtQuick.Controls 2.12
ApplicationWindow {
- id: appWindow
- width: 360
- height: 640
- visible: true
-
- StackView {
- id: stackView
- initialItem: Login {}
- }
+ id: appWindow
+ width: 362
+ height: 628
+ visible: true
+
+ StackView {
+ id: stackView
+ width: 362
+ height: 628
+
+ initialItem: Login {}
+ }
+
}