Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.1
-
None
-
Qt 5.1.1
OSs: Linux (OpenSuse 12.3) and Windows 7
-
09a74592234c84b3e428b452d844eaa1f6451040
Description
Having four items in a SplitView and hiding the third one makes the fourth item to position incorrectly.
import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Window 2.0
import QtQuick.Layouts 1.0
Rectangle{
width:1200
height:600
SplitView{
anchors.fill:parent
Rectangle
Rectangle
{ id: r2 color: "yellow" Layout.minimumWidth: 300 Layout.fillWidth: true height: parent.height }Rectangle
{ id: r3 color: "blue" Layout.minimumWidth: 300 height: parent.height visible:false }Rectangle
{ id: r4 color: "green" Layout.minimumWidth: 300 height: parent.height } }
}