forked from qt-creator/qt-creator
QmlDesigner.Puppet: Adding size hints to Window mockup
Without defining the properties, the properties do not work and do not get notified properly. They are also missing defaults which breaks "resetting". Task-number: QTCREATORBUG-13004 Change-Id: Ib36f39770930be486225b45169d2ebdb53df8df4 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
@@ -13,6 +13,12 @@ Rectangle {
|
||||
onStatusBarChanged: { if (statusBar) { statusBar.parent = statusBarArea } }
|
||||
onToolBarChanged: { if (toolBar) { toolBar.parent = toolBarArea } }
|
||||
|
||||
property int maximumWidth: 0
|
||||
property int minimumWidth: 0
|
||||
|
||||
property int maximumHeight: 0
|
||||
property int minimumHeight: 0
|
||||
|
||||
Item {
|
||||
id: contentArea
|
||||
anchors.top: toolBarArea.bottom
|
||||
|
||||
Reference in New Issue
Block a user