summaryrefslogtreecommitdiff
path: root/Button/Btn.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 15:22:31 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 15:22:31 +0800
commitd68ab5e8ddf645dec23e43183de2d2e1ff9a1731 (patch)
treedbb9f1002164639eacbc648e488175ffc2fac069 /Button/Btn.ui.qml
parent8eb5964a322f62ae1319cd7dcc6fadab9a2f552c (diff)
Fix button border colours
Diffstat (limited to 'Button/Btn.ui.qml')
-rw-r--r--Button/Btn.ui.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/Button/Btn.ui.qml b/Button/Btn.ui.qml
index 32bf2ca..e672537 100644
--- a/Button/Btn.ui.qml
+++ b/Button/Btn.ui.qml
@@ -36,7 +36,11 @@ Button {
: bsBtnDisabledBg
border {
width: Eduport.bsBtnBorderWidth
- color: bsBtnBorderColor
+ color: button.down
+ ? bsBtnActiveBorderColor
+ : button.enabled
+ ? bsBtnBorderColor
+ : bsBtnDisabledBorderColor
}
radius: bsBtnBorderRadius
}