From 10e69b1157162fb8730a9d9a6d939025883270a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 3 Jan 2023 13:44:26 +0800 Subject: Login button, and margins --- SignInFlickable.ui.qml | 59 +++++++++++++++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 25 deletions(-) diff --git a/SignInFlickable.ui.qml b/SignInFlickable.ui.qml index 40a9bd2..30d3c8f 100644 --- a/SignInFlickable.ui.qml +++ b/SignInFlickable.ui.qml @@ -5,40 +5,49 @@ import QtQuick.Layouts 1.15 GridLayout { ColumnLayout { + Layout.margins: 15 ColumnLayout { - Label { - text: qsTr("Email address *") - } - RowLayout { - Image { - id: envelope - source: "Bootstrap/icons/envelope-fill.svg" + + ColumnLayout { + Label { + text: qsTr("Email address *") } - TextField { - placeholderText: qsTr("E-mail") - Layout.fillWidth: true + RowLayout { + Image { + id: envelope + source: "Bootstrap/icons/envelope-fill.svg" + } + TextField { + placeholderText: qsTr("E-mail") + Layout.fillWidth: true + } } } - } - ColumnLayout { - Label { - text: qsTr("Password *") - } - RowLayout { - Image { - source: "Font-Awesome/svgs/solid/lock.svg" - sourceSize { - width: envelope.height - height: envelope.height - } + ColumnLayout { + Label { + text: qsTr("Password *") } - TextField { - placeholderText: qsTr("password") - Layout.fillWidth: true + RowLayout { + Image { + source: "Font-Awesome/svgs/solid/lock.svg" + sourceSize { + width: envelope.height + height: envelope.height + } + } + TextField { + placeholderText: qsTr("password") + Layout.fillWidth: true + } } } + + Button { + text: qsTr("Login") + Layout.fillWidth: true + } } } } -- cgit v1.2.3