File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,11 @@ Item {
215
215
horizontalAlignment: Text .AlignHCenter
216
216
verticalAlignment: Text .AlignVCenter
217
217
}
218
+
219
+ background: Rectangle {
220
+ color: ! tabButton .enabled ? form .style .tabs .disabledBackgroundColor : tabButton .down ||
221
+ tabButton .checked ? form .style .tabs .activeBackgroundColor : form .style .tabs .normalBackgroundColor
222
+ }
218
223
}
219
224
}
220
225
}
Original file line number Diff line number Diff line change @@ -37,7 +37,10 @@ QtObject {
37
37
property QtObject tabs: QtObject {
38
38
property color normalColor: " #4CAF50"
39
39
property color activeColor: " #1B5E20"
40
- property color disabledColor: " #999999"
40
+ property color disabledColor: " #FFFFFF"
41
+ property color normalBackgroundColor: " #FFFFFF"
42
+ property color activeBackgroundColor: " #4CAF50"
43
+ property color disabledBackgroundColor: " #999999"
41
44
property real height: 48 * QgsQuick .Utils .dp
42
45
}
43
46
You can’t perform that action at this time.
0 commit comments