summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-21 20:32:14 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-21 20:32:14 +0800
commit7fd7ddd198d5f3527e64c1a0d31d5c44cf90b907 (patch)
tree4f3449cabd70d0ba2e215524e333d3157edcfd71
parent6d75ac98eb09c3b9207410e8590bafa86ddd3da3 (diff)
Rename the font size properties
-rw-r--r--Authentication/SignIn.ui.qml8
-rw-r--r--Authentication/SignUp.ui.qml8
-rw-r--r--Home/Default.ui.qml2
-rw-r--r--imports/Eduport/Eduport.qml6
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"