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
|
anchors.fill: parent
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: 5 //### values.length?
|
model: labels.rowCount //### values.length?
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: 50 //###
|
height: flick.height/labels.rowCount //###
|
||||||
color: index % 2 ? "#fafafa" : "white"
|
color: index % 2 ? "#f3f3f3" : "white"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user