Improve clipping in App

This commit is contained in:
Sebastian Kügler 2012-04-02 17:45:41 +02:00
parent 69fc1ee82e
commit 744fe720d2

View File

@ -96,7 +96,7 @@ Item {
onToolsChanged: {
// FIXME: questionable heuristics
height = (tools.childrenRect.width > 20) ? tools.childrenRect.height + space : 0
height = (tools && tools.childrenRect.width > 20) ? tools.childrenRect.height + space : 0
}
}
@ -124,6 +124,7 @@ Item {
clip: true
width: navigationWidth + space
Item {
clip: true
id: navigationItem
anchors.fill: parent
}