From 0791cac4bc4bd9fd6224f82efcdf07e9973a679d Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Mon, 26 Aug 2019 11:49:28 +0800 Subject: Reindented and removed implicit code --- Login.qml | 3 --- main.qml | 22 +++++++++------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/Login.qml b/Login.qml index 1e450ce..d39c60d 100644 --- a/Login.qml +++ b/Login.qml @@ -1,9 +1,6 @@ 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 8fbb800..e0ee73f 100644 --- a/main.qml +++ b/main.qml @@ -2,17 +2,13 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 ApplicationWindow { - id: appWindow - width: 362 - height: 628 - visible: true - - StackView { - id: stackView - width: 362 - height: 628 - - initialItem: Login {} - } - + id: appWindow + width: 360 + height: 640 + visible: true + + StackView { + id: stackView + initialItem: Login {} + } } -- cgit v1.2.3