QmlProfiler: Properly align time labels and bars

Due to QTBUG-34962 we can't rely on the width properties of Flickables
so we use some other elements to size the background bars.

Task-number: QTCREATORBUG-10882
Change-Id: Iee427022111b6092486adaebfd33f8e2e6a91190
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2013-11-21 18:31:50 +01:00
parent 13abd6d65d
commit 070de17ec7

View File

@@ -317,7 +317,7 @@ Rectangle {
id: backgroundMarks
y: vertflick.contentY
height: vertflick.height
anchors.right: parent.right
width: root.width - labels.width
anchors.left: labels.right
}