diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-03-13 10:35:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-13 11:08:36 +0100 |
commit | bcea69532eb76aec8f01c092aef2c0ae24765adc (patch) | |
tree | f6b433e65356e90b7a6b67f10ca1228f98f27cc4 /src/controls/SplitView.qml | |
parent | eceefe1e6cdc34f9d80c03fa6ca60c4335468be7 (diff) |
Fix incorrect size reported for SplitView
Found this bug while replicating the Creator layout.
Aparently the content item is the parent of children so it should
fill the contents of the SplitView, otherwise it will report a
width and height of 0.
Change-Id: I47a8e6cbecf8642e2d133a0be0dce0305a167c0c
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls/SplitView.qml')
-rw-r--r-- | src/controls/SplitView.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/SplitView.qml b/src/controls/SplitView.qml index b050e0e73..fe2a210c6 100644 --- a/src/controls/SplitView.qml +++ b/src/controls/SplitView.qml @@ -383,6 +383,7 @@ Item { Item { id: contents visible: false + anchors.fill: parent } Item { id: splitterItems |