Skip to content

Commit 315af30

Browse files
jarolrodhebasto
authored andcommitted
qml: make the TextButton control default values more usable
Github-Pull: #199 Rebased-From: 956605f
1 parent 94dc312 commit 315af30

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

src/qml/BitcoinApp/Controls/TextButton.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import QtQuick.Controls
88
Button {
99
id: root
1010
property int textSize: 18
11-
property string textColor: Theme.color.neutral9
11+
property string textColor: Theme.color.orange
1212
property bool bold: true
1313
property bool rightalign: false
1414
font.family: "Inter"

src/qml/BitcoinApp/OnboardingConnection.qml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ Page {
3737
detailActive: true
3838
detailItem: TextButton {
3939
text: qsTr("Connection settings")
40-
textSize: 18
41-
textColor: Theme.color.orange
42-
onClicked: {
43-
connections.incrementCurrentIndex()
44-
}
40+
onClicked: connections.incrementCurrentIndex()
4541
}
4642
lastPage: true
4743
buttonText: qsTr("Next")

src/qml/BitcoinApp/OnboardingStorageAmount.qml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ Page {
3939
Layout.topMargin: 30
4040
Layout.fillWidth: true
4141
text: qsTr("Detailed settings")
42-
textSize: 18
43-
textColor: "#F7931A"
44-
onClicked: {
45-
storages.incrementCurrentIndex()
46-
}
42+
onClicked: storages.incrementCurrentIndex()
4743
}
4844
}
4945
buttonText: qsTr("Next")

0 commit comments

Comments
 (0)