QmlProfiler: adjust timeline background to width

Change-Id: Ice7fd81994dd93571fa2f172cbaa611a55f07721
Reviewed-on: http://codereview.qt.nokia.com/528
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-06-20 13:36:11 +02:00
parent 5f53cc41d8
commit 96fe0cf503

View File

@@ -135,11 +135,11 @@ Rectangle {
anchors.fill: parent
Repeater {
model: 5 //### values.length?
model: labels.rowCount //### values.length?
delegate: Rectangle {
width: parent.width
height: 50 //###
color: index % 2 ? "#fafafa" : "white"
height: flick.height/labels.rowCount //###
color: index % 2 ? "#f3f3f3" : "white"
}
}
}