summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anata@darapsa.co.id>2021-06-23 10:28:23 +0700
committerAnatasof Wirapraja <anata@darapsa.co.id>2021-06-23 10:28:23 +0700
commita24e2cbf7311f041adc5a0c557e8b349ebf2862b (patch)
tree6b43860ccf46ae363fef93b1f6dd660b687aeb14
parentd8263f6129d3ed254219be17d1a7deba2700a62a (diff)
Membetulkan tombol material design
-rw-r--r--AccountForm.ui.qml30
-rw-r--r--qtquickcontrols2.conf4
2 files changed, 14 insertions, 20 deletions
diff --git a/AccountForm.ui.qml b/AccountForm.ui.qml
index 8a41e0b..49e28fb 100644
--- a/AccountForm.ui.qml
+++ b/AccountForm.ui.qml
@@ -44,21 +44,17 @@ Rectangle {
anchors.topMargin: 16
}
- Button {
- id: submit
- text: "Tagih"
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: parent.bottom
- flat: true
- font.capitalization: Font.MixedCase
- font.family: "Roboto Mono"
- anchors.rightMargin: 16
- anchors.leftMargin: 16
- anchors.bottomMargin: 16
- background: Rectangle {
- implicitHeight: 30
- radius: 4
- }
- }
+ Button {
+ text: qsTr("Tagih")
+ Material.background: Material.Amber
+ anchors.left: parent.left
+ anchors.right: parent.right
+ anchors.bottom: parent.bottom
+ font.letterSpacing: 1.24
+ font.capitalization: Font.MixedCase
+ font.family: "Roboto Mono"
+ anchors.rightMargin: 16
+ anchors.leftMargin: 16
+ anchors.bottomMargin: 16
+ }
}
diff --git a/qtquickcontrols2.conf b/qtquickcontrols2.conf
index 3294845..4df93e6 100644
--- a/qtquickcontrols2.conf
+++ b/qtquickcontrols2.conf
@@ -2,6 +2,4 @@
Style=Material
[Material]
-Accent=Cyan
-Primary=BlueGrey
-Theme=Light
+Theme=Dark \ No newline at end of file