diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-16 22:29:30 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-16 22:29:30 +0800 |
| commit | 4fcdeafdff1241ff598b7695283f3c44680888df (patch) | |
| tree | 6c0b1802961b85645e969b21a5b09c6264920f30 /SignIn.ui.qml | |
| parent | 7d0960bbdced8398bc3cec36e5d15e1c31b54f4d (diff) | |
Bootstrap button primary impl & its use in SignIn
Diffstat (limited to 'SignIn.ui.qml')
| -rw-r--r-- | SignIn.ui.qml | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/SignIn.ui.qml b/SignIn.ui.qml index da66b5f..6d910dd 100644 --- a/SignIn.ui.qml +++ b/SignIn.ui.qml @@ -1,6 +1,7 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 +import "Bootstrap/Button" as BsBtn Flickable { property string titleHeader: qsTr("Login into Eduport!") @@ -194,28 +195,11 @@ Flickable { } } - Button { + BsBtn.Primary { id: button text: qsTr("Login") implicitHeight: 40 Layout.fillWidth: true - - contentItem: Text { - color: "#ffffff" - text: button.text - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - font { - pointSize: 15 - family: doesntEmbed ? "Roboto" : medium.name - weight: Font.Medium - } - } - - background: Rectangle { - color: button.down ? "#0555a1" : button.enabled ? "#066ac9" : "#a6066ac9" - radius: 8 - } } } |