summaryrefslogtreecommitdiff
path: root/components/GroupBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/GroupBox.qml')
-rw-r--r--components/GroupBox.qml9
1 files changed, 8 insertions, 1 deletions
diff --git a/components/GroupBox.qml b/components/GroupBox.qml
index c131a7f0..b0e4538e 100644
--- a/components/GroupBox.qml
+++ b/components/GroupBox.qml
@@ -66,13 +66,20 @@ Item {
id: styleitem
elementType: "groupbox"
anchors.fill: parent
- text: groupbox.title
+ //text: groupbox.title
hover: checkbox.containsMouse
on: checkbox.checked
hasFocus: checkbox.activeFocus
activeControl: checkable ? "checkbox" : ""
sunken: !flat
contentHeight: (title.length > 0 || checkable) ? 24 : 4
+ Text {
+ id: textItem
+ text: groupbox.title
+ anchors.top: parent.top
+ anchors.left: parent.left
+ renderType: Desktop.nativeTextRendering ? Text.NativeRendering : Text.QtRendering
+ }
}
Loader {