From a24e2cbf7311f041adc5a0c557e8b349ebf2862b Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Wed, 23 Jun 2021 10:28:23 +0700 Subject: Membetulkan tombol material design --- AccountForm.ui.qml | 30 +++++++++++++----------------- qtquickcontrols2.conf | 4 +--- 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 -- cgit v1.2.3