summaryrefslogtreecommitdiff
path: root/Button/Success.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'Button/Success.ui.qml')
-rw-r--r--Button/Success.ui.qml25
1 files changed, 9 insertions, 16 deletions
diff --git a/Button/Success.ui.qml b/Button/Success.ui.qml
index 2da78cd..9a1286d 100644
--- a/Button/Success.ui.qml
+++ b/Button/Success.ui.qml
@@ -3,20 +3,13 @@ import QtQuick.Controls 2.15
import Eduport 1.4
Btn {
- id: button
- background: Rectangle {
- color: button.down ? Eduport.bsBtnSuccessActiveBg
- : button.enabled
- ? Eduport.bsBtnSuccessBg
- : Eduport.bsBtnSuccessDisabledBg
- border {
- width: Eduport.bsBtnBorderWidth
- color: button.down
- ? Eduport.bsBtnSuccessActiveBorderColor
- : button.enabled
- ? Eduport.bsBtnSuccessBorderColor
- : Eduport.bsBtnSuccessDisabledBorderColor
- }
- radius: Eduport.bsBtnBorderRadius
- }
+ bsBtnColor: Eduport.bsBtnSuccessColor
+ bsBtnBg: Eduport.bsBtnSuccessBg
+ bsBtnBorderColor: Eduport.bsBtnSuccessBorderColor
+ bsBtnActiveColor: Eduport.bsBtnSuccessActiveColor
+ bsBtnActiveBg: Eduport.bsBtnSuccessActiveBg
+ bsBtnActiveBorderColor: Eduport.bsBtnSuccessActiveBorderColor
+ bsBtnDisabledColor: Eduport.bsBtnSuccessDisabledColor
+ bsBtnDisabledBg: Eduport.bsBtnSuccessDisabledBg
+ bsBtnDisabledBorderColor: Eduport.bsBtnSuccessDisabledBorderColor
}