Tracing: Don't use "row" and "column" as IDs

Fixes: QTCREATORBUG-21478
Change-Id: I9bda68abc4980ab9bc4247e48f5bc8bfc788c2dd
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2018-11-14 14:34:36 +01:00
parent fed9ac43f0
commit aaab74e276
4 changed files with 25 additions and 23 deletions

View File

@@ -95,7 +95,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
id: column
id: renderArea
Repeater {
model: modelProxy.models
@@ -103,8 +103,8 @@ Rectangle {
model: modelData
zoomer: overview.zoomer
notes: modelProxy.notes
width: column.width
height: column.height / modelProxy.models.length
width: renderArea.width
height: renderArea.height / modelProxy.models.length
}
}
}
@@ -116,7 +116,7 @@ Rectangle {
return prev;
}, {});
property int vertSpace: column.height / 7
property int vertSpace: renderArea.height / 7
property color noteColor: Theme.color(Theme.Timeline_HighlightColor)
readonly property double spacing: parent.width / zoomer.traceDuration