summaryrefslogtreecommitdiff
path: root/src/controls/Styles
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles')
-rw-r--r--src/controls/Styles/Base/CheckBoxStyle.qml3
-rw-r--r--src/controls/Styles/Base/RadioButtonStyle.qml3
-rw-r--r--src/controls/Styles/Base/ScrollViewStyle.qml2
-rw-r--r--src/controls/Styles/Base/TableViewStyle.qml2
4 files changed, 4 insertions, 6 deletions
diff --git a/src/controls/Styles/Base/CheckBoxStyle.qml b/src/controls/Styles/Base/CheckBoxStyle.qml
index 0f38668f..18dfec6a 100644
--- a/src/controls/Styles/Base/CheckBoxStyle.qml
+++ b/src/controls/Styles/Base/CheckBoxStyle.qml
@@ -179,8 +179,7 @@ Style {
Loader {
id: labelLoader
sourceComponent: label
- anchors.top: parent.top
- anchors.bottom: parent.bottom
+ anchors.verticalCenter: parent.verticalCenter
}
}
}
diff --git a/src/controls/Styles/Base/RadioButtonStyle.qml b/src/controls/Styles/Base/RadioButtonStyle.qml
index ef3f2229..bac69d05 100644
--- a/src/controls/Styles/Base/RadioButtonStyle.qml
+++ b/src/controls/Styles/Base/RadioButtonStyle.qml
@@ -137,8 +137,7 @@ Style {
Loader {
id: labelLoader
sourceComponent: label
- anchors.top: parent.top
- anchors.bottom: parent.bottom
+ anchors.verticalCenter: parent.verticalCenter
}
}
}
diff --git a/src/controls/Styles/Base/ScrollViewStyle.qml b/src/controls/Styles/Base/ScrollViewStyle.qml
index ed7dd171..e8df1a55 100644
--- a/src/controls/Styles/Base/ScrollViewStyle.qml
+++ b/src/controls/Styles/Base/ScrollViewStyle.qml
@@ -71,7 +71,7 @@ Style {
/*! This Component paints the frame around scroll bars. */
property Component frame: Rectangle {
- color: "white"
+ color: control["backgroundVisible"] ? "white": "transparent"
border.color: "#999"
border.width: 1
radius: 1
diff --git a/src/controls/Styles/Base/TableViewStyle.qml b/src/controls/Styles/Base/TableViewStyle.qml
index 4484f1c9..dd47f7ca 100644
--- a/src/controls/Styles/Base/TableViewStyle.qml
+++ b/src/controls/Styles/Base/TableViewStyle.qml
@@ -61,7 +61,7 @@ ScrollViewStyle {
property color textColor: __syspal.text
/*! The background color. */
- property color backgroundColor: __syspal.base
+ property color backgroundColor: control.backgroundVisible ? __syspal.base : "transparent"
/*! The alternate background color. */
property color alternateBackgroundColor: Qt.darker(__syspal.base, 1.06)