forked from qt-creator/qt-creator
Timeline: Don't anchor delegate items
Apparently the parent is not always defined and we get warnings about that. Change-Id: I574d68c2668fef53af9422049143a0decf05286f Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -78,10 +78,9 @@ Flickable {
|
||||
delegate: Rectangle {
|
||||
color: categories.color
|
||||
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
property int visualIndex: DelegateModel.itemsIndex
|
||||
height: label.visible ? label.height : 0
|
||||
width: categories.width
|
||||
|
||||
CategoryLabel {
|
||||
id: label
|
||||
|
Reference in New Issue
Block a user