From 7fd7ddd198d5f3527e64c1a0d31d5c44cf90b907 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, 21 Mar 2023 20:32:14 +0800 Subject: Rename the font size properties --- Authentication/SignIn.ui.qml | 8 ++++---- Authentication/SignUp.ui.qml | 8 ++++---- Home/Default.ui.qml | 2 +- imports/Eduport/Eduport.qml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Authentication/SignIn.ui.qml b/Authentication/SignIn.ui.qml index b0f7651..94421b5 100644 --- a/Authentication/SignIn.ui.qml +++ b/Authentication/SignIn.ui.qml @@ -57,7 +57,7 @@ Flickable { family: Bootstrap .bodyFont.family pointSize: Eduport - .fontSizeLead + .leadFontSize } } } @@ -95,7 +95,7 @@ Flickable { placeholderText: qsTr("E-mail") font { family: Bootstrap.bodyFont.family - pointSize: Eduport.fontSizeFormControl + pointSize: Eduport.formControlFontSize } Layout.fillWidth: true Layout.fillHeight: true @@ -142,7 +142,7 @@ Flickable { echoMode: TextInput.Password font { family: Bootstrap.bodyFont.family - pointSize: Eduport.fontSizeFormControl + pointSize: Eduport.formControlFontSize } Layout.fillWidth: true Layout.fillHeight: true @@ -161,7 +161,7 @@ Flickable { family: Bootstrap.bodyFont .family pointSize: Eduport - .fontSizeFormText + .formTextFontSize } color: "#6c757d" } diff --git a/Authentication/SignUp.ui.qml b/Authentication/SignUp.ui.qml index ee179e8..3c29e7e 100644 --- a/Authentication/SignUp.ui.qml +++ b/Authentication/SignUp.ui.qml @@ -58,7 +58,7 @@ Flickable { family: Bootstrap .bodyFont.family pointSize: Eduport - .fontSizeLead + .leadFontSize } } } @@ -98,7 +98,7 @@ Flickable { placeholderText: qsTr("E-mail") font { family: Bootstrap.bodyFont.family - pointSize: Eduport.fontSizeFormControl + pointSize: Eduport.formControlFontSize } Layout.fillWidth: true Layout.fillHeight: true @@ -146,7 +146,7 @@ Flickable { echoMode: TextInput.Password font { family: Bootstrap.bodyFont.family - pointSize: Eduport.fontSizeFormControl + pointSize: Eduport.formControlFontSize } Layout.fillWidth: true Layout.fillHeight: true @@ -194,7 +194,7 @@ Flickable { echoMode: TextInput.Password font { family: Bootstrap.bodyFont.family - pointSize: Eduport.fontSizeFormControl + pointSize: Eduport.formControlFontSize } Layout.fillWidth: true Layout.fillHeight: true diff --git a/Home/Default.ui.qml b/Home/Default.ui.qml index 34ab45f..aa2c283 100644 --- a/Home/Default.ui.qml +++ b/Home/Default.ui.qml @@ -64,7 +64,7 @@ Flickable { font { family: Bootstrap.bodyFont .family - pointSize: Eduport.fontSizeLead + pointSize: Eduport.leadFontSize } } diff --git a/imports/Eduport/Eduport.qml b/imports/Eduport/Eduport.qml index ea01fa2..d2c7831 100644 --- a/imports/Eduport/Eduport.qml +++ b/imports/Eduport/Eduport.qml @@ -2,10 +2,10 @@ pragma Singleton import QtQuick 2.15 QtObject { - readonly property real fontSizeLead: 18.75 - readonly property real fontSizeFormControl: 16 + readonly property real leadFontSize: 18.75 + readonly property real formControlFontSize: 16 readonly property real h6FontSize: 15 - readonly property real fontSizeFormText: 14 + readonly property real formTextFontSize: 14 readonly property FontLoader bold: FontLoader { source: "../../Heebo/Heebo-Bold.ttf" -- cgit v1.2.3