From ec2d1831014e323c1f7750833dcc785d18f46456 Mon Sep 17 00:00:00 2001
From: Jan Arve Saether <jan-arve.saether@digia.com>
Date: Mon, 13 May 2013 17:20:15 +0200
Subject: [PATCH] Do not set the window max constraints in basiclayouts
 example.

They are strictly not needed...
As a consequence of this, do not limit the size of the TextArea

Change-Id: I3c152e7e8f749d7b5b2a0b9887664a11fb7d3b04
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
---
 examples/quick/controls/basiclayouts/main.qml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/examples/quick/controls/basiclayouts/main.qml b/examples/quick/controls/basiclayouts/main.qml
index 6ce18fefd..74ccb4911 100644
--- a/examples/quick/controls/basiclayouts/main.qml
+++ b/examples/quick/controls/basiclayouts/main.qml
@@ -53,8 +53,6 @@ ApplicationWindow {
     height: mainLayout.implicitHeight + 2 * margin
     minimumWidth: mainLayout.Layout.minimumWidth + 2 * margin
     minimumHeight: mainLayout.Layout.minimumHeight + 2 * margin
-    maximumWidth: mainLayout.Layout.maximumWidth + 2 * margin
-    maximumHeight: mainLayout.Layout.maximumHeight + 2 * margin
 
     ColumnLayout {
         id: mainLayout
@@ -114,7 +112,6 @@ ApplicationWindow {
             id: t3
             text: "This fills the whole cell"
             Layout.minimumHeight: 30
-            Layout.maximumHeight: 300
             Layout.fillHeight: true
             Layout.fillWidth: true
         }
-- 
GitLab