diff options
Diffstat (limited to 'Bootstrap')
-rw-r--r-- | Bootstrap/Button/Primary.ui.qml | 20 | ||||
-rw-r--r-- | Bootstrap/icons/LICENSE.md (renamed from Bootstrap/LICENSE.md) | 0 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Bootstrap/Button/Primary.ui.qml b/Bootstrap/Button/Primary.ui.qml new file mode 100644 index 0000000..e99f56b --- /dev/null +++ b/Bootstrap/Button/Primary.ui.qml @@ -0,0 +1,20 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import Bootstrap 5.3 + +Button { + id: button + font: Bootstrap.btnFont + contentItem: Text { + text: button.text + font: button.font + color: Bootstrap.btnColor + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + background: Rectangle { + color: button.down ? Bootstrap.btnActiveBG : button.enabled + ? Bootstrap.btnBg : Bootstrap.btnDisabledBg + radius: 8 + } +} diff --git a/Bootstrap/LICENSE.md b/Bootstrap/icons/LICENSE.md index 47f06b6..47f06b6 100644 --- a/Bootstrap/LICENSE.md +++ b/Bootstrap/icons/LICENSE.md |