diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-22 17:13:31 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-22 17:13:31 +0700 |
commit | 8c5d4e186c702c1a97006c9bb208810bb7ad67de (patch) | |
tree | 957a6bf049bd3bde9d4a442c2a15ec80c6d7ce1c /LoginForm.ui.qml | |
parent | 06e195d0c9031ffd4ebfe59f540287647a41702d (diff) |
remove anchorrs, use layout instead
Diffstat (limited to 'LoginForm.ui.qml')
-rw-r--r-- | LoginForm.ui.qml | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/LoginForm.ui.qml b/LoginForm.ui.qml index a2dc1d4..bad8934 100644 --- a/LoginForm.ui.qml +++ b/LoginForm.ui.qml @@ -11,21 +11,19 @@ Rectangle { property alias emailButton: emailButton RowLayout { - anchors.horizontalCenter: parent.horizontalCenter - anchors.left: parent.left anchors.right: parent.right - anchors.leftMargin: 16 anchors.rightMargin: 16 + anchors.left: parent.left + anchors.leftMargin: 16 anchors.bottom: disclaimer.top anchors.bottomMargin: 16 + spacing: 16 Button { id: emailButton text: qsTr("Continue with E-Mail") height: 36 - anchors.left: parent.left - anchors.right: parent.right - anchors.bottom: parent.bottom + Layout.fillWidth: true contentItem: Text { text: emailButton.text @@ -48,13 +46,8 @@ Rectangle { Button { id: googleButton text: qsTr("Continue with Google") - y: 419 height: 36 - - anchors.right: parent.right - anchors.left: parent.left - anchors.bottom: emailButton.top - anchors.bottomMargin: 16 + Layout.fillWidth: true contentItem: Text { text: googleButton.text |