From e3b77353b00ea9c5097f2ffee70f614bd0777a3d Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Tue, 31 Jan 2023 18:29:43 +0700 Subject: fixing some margin, spacing, and sizes --- SignInFlickable.ui.qml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/SignInFlickable.ui.qml b/SignInFlickable.ui.qml index 1235e74..2cbbbdf 100644 --- a/SignInFlickable.ui.qml +++ b/SignInFlickable.ui.qml @@ -9,23 +9,26 @@ GridLayout { property alias signInSignUp: signUp ColumnLayout { - Layout.margins: 15 + Layout.rightMargin: 16 + Layout.leftMargin: 16 + spacing: 16 ColumnLayout { ColumnLayout { Label { text: qsTr("Email address *") - font.pixelSize: 15 + font.pixelSize: 16 + font.family: "roboto" } Rectangle { - height: 50 + implicitHeight: 56 color: "#f5f7f9" radius: 8 border.width: 0 Layout.fillWidth: true - + RowLayout { anchors.fill: parent Image { @@ -40,7 +43,8 @@ GridLayout { TextField { id: email placeholderText: qsTr("E-mail") - font.pixelSize: 15 + font.pixelSize: 16 + font.family: "roboto" Layout.fillWidth: true Layout.fillHeight: true background: Rectangle { @@ -54,11 +58,12 @@ GridLayout { ColumnLayout { Label { text: qsTr("Password *") - font.pixelSize: 15 + font.pixelSize: 16 + font.family: "roboto" } Rectangle { - height: 50 + implicitHeight: 56 color: "#f5f7f9" radius: 8 border.width: 0 @@ -75,7 +80,7 @@ GridLayout { TextField { id: password placeholderText: qsTr("Password") - font.pixelSize: 15 + font.pixelSize: 16 Layout.fillWidth: true Layout.fillHeight: true background: Rectangle { @@ -89,7 +94,8 @@ GridLayout { Button { id: button text: qsTr("Login") - font.pixelSize: 15 + font.pixelSize: 16 + implicitHeight: 40 Layout.fillWidth: true contentItem: Text { @@ -113,12 +119,12 @@ GridLayout { Layout.alignment: Qt.AlignHCenter Label { text: qsTr("Don't have an account?") - font.pixelSize: 15 + font.pixelSize: 16 } Text { id: signUp text: "Signup here" - font.pixelSize: 15 + font.pixelSize: 16 font.underline: false linkColor: Qt.rgba(.0235, .416, .788, 1.0) } -- cgit v1.2.3