summaryrefslogtreecommitdiff
path: root/examples/content/Panel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/content/Panel.qml')
-rw-r--r--examples/content/Panel.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/content/Panel.qml b/examples/content/Panel.qml
index 366e6f1d..e2f6c719 100644
--- a/examples/content/Panel.qml
+++ b/examples/content/Panel.qml
@@ -26,6 +26,7 @@ Rectangle {
anchors.fill: parent
anchors.margins: 40
text:textfield.text
+ renderType: Desktop.nativeTextRendering ? Text.NativeRendering : Text.QtRendering
}
Rectangle {
border.color: "#444"
@@ -69,7 +70,7 @@ Rectangle {
spacing:12
Button { width: parent.width - 12; text: "Close Panel"; onClicked: sidebar.show = false}
- TextField { id: textfield; text: "Some text" ; width: parent.width - 12}
+ TextField { id: textfield; text: "Some text" ; width: parent.width - 12; }
SpinBox { width: parent.width - 12}
CheckBox{ id: expander; text:"Sliders"}
}