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 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) (limited to 'AccountForm.ui.qml') 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 + } } -- cgit v1.2.3