forked from qt-creator/qt-creator
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:
@@ -317,7 +317,7 @@ Rectangle {
|
|||||||
id: backgroundMarks
|
id: backgroundMarks
|
||||||
y: vertflick.contentY
|
y: vertflick.contentY
|
||||||
height: vertflick.height
|
height: vertflick.height
|
||||||
anchors.right: parent.right
|
width: root.width - labels.width
|
||||||
anchors.left: labels.right
|
anchors.left: labels.right
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user