forked from qt-creator/qt-creator
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:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user