summaryrefslogtreecommitdiff
path: root/Button/Btn.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-23 22:12:42 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-23 22:12:42 +0800
commit1cd3e4c1daa4ad59853fc65c8edddab91f2c0c43 (patch)
tree48d97db42eef5766cc218e70ca9a8018361d8ca4 /Button/Btn.ui.qml
parent2cf3e72be21545981f27b838832a055d1dc27489 (diff)
Merge Bootstrap properties to Eduport
Diffstat (limited to 'Button/Btn.ui.qml')
-rw-r--r--Button/Btn.ui.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/Button/Btn.ui.qml b/Button/Btn.ui.qml
index cdf730b..f841b54 100644
--- a/Button/Btn.ui.qml
+++ b/Button/Btn.ui.qml
@@ -1,25 +1,25 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
-import Bootstrap 5.3
+import Eduport 1.4
Button {
id: button
- horizontalPadding: Bootstrap.btnPaddingX
- verticalPadding: Bootstrap.btnPaddingY
- font: Bootstrap.btnFont
+ horizontalPadding: Eduport.bsBtnPaddingX
+ verticalPadding: Eduport.bsBtnPaddingY
+ font: Eduport.bsBtnFont
contentItem: Text {
text: button.text
font: button.font
- color: Bootstrap.btnColor
+ color: Eduport.bsBtnColor
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
background: Rectangle {
- color: Bootstrap.btnBg
+ color: Eduport.bsBtnBg
border {
- width: Bootstrap.btnBorderWidth
- color: Bootstrap.btnBorderColor
+ width: Eduport.bsBtnBorderWidth
+ color: Eduport.bsBtnBorderColor
}
- radius: Bootstrap.btnBorderRadius
+ radius: Eduport.bsBtnBorderRadius
}
}