summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/basiclayouts/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basiclayouts/main.qml b/examples/basiclayouts/main.qml
index fd107cc1..7b83a2e0 100644
--- a/examples/basiclayouts/main.qml
+++ b/examples/basiclayouts/main.qml
@@ -111,8 +111,8 @@ ApplicationWindow {
TextArea {
id: t3
text: "This fills the whole cell"
- width: 200
- height: 400
+ Layout.preferredWidth: 200
+ Layout.preferredHeight: 400
Layout.fillHeight: true
Layout.fillWidth: true
}