summaryrefslogtreecommitdiff
path: root/Home
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-22 10:40:15 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-22 10:40:15 +0800
commit02b6fe5787b02a1b892e0d663e6806b925458902 (patch)
tree0137cba38b6b31b0e912163d480a1df1d5d5d92d /Home
parent0e0ea1f1742493e5a7a1ea4552ce719eab358bac (diff)
Simplify get started button
Diffstat (limited to 'Home')
-rw-r--r--Home/Default.ui.qml25
1 files changed, 8 insertions, 17 deletions
diff --git a/Home/Default.ui.qml b/Home/Default.ui.qml
index 17e7fb4..00fba84 100644
--- a/Home/Default.ui.qml
+++ b/Home/Default.ui.qml
@@ -78,26 +78,18 @@ Flickable {
Layout.bottomMargin: 25.6
horizontalPadding: 24
verticalPadding: 12.8
+ text: qsTr("Get Started")
+ font: Bootstrap.btnFont
contentItem: Text {
- color: getStarted.down
- ? "#ffffff"
- : "#d6293e"
- text: qsTr("Get Started")
horizontalAlignment: Text
.AlignHCenter
verticalAlignment: Text
.AlignVCenter
- font {
- family: Bootstrap
- .btnFont
- .family
- weight: Bootstrap
- .btnFont
- .weight
- pointSize: Bootstrap
- .btnFont
- .pointSize
- }
+ text: getStarted.text
+ font: getStarted.font
+ color: getStarted.down
+ ? "#ffffff"
+ : "#d6293e"
}
background: Rectangle {
radius: 8
@@ -106,8 +98,7 @@ Flickable {
: Qt.rgba(.839, .16,
.243, .1)
border {
- color:
- getStarted.down
+ color: getStarted.down
? "#d6293e"
: "transparent"
width: 1