Commit 5c815dea authored by Ulf Hermann's avatar Ulf Hermann
Browse files

Timeline: Avoid clip on TimeDisplay

The only thing that needs clipping are the thin vertical lines. We can
manually manage those with the "visible" property. Clipping with the
"clip" property on the parent element can cause costly rebatching for
the whole content while scrolling.

Change-Id: Ia31eeefc4c0a943b00ea47b12c5c9d49b0f004e3
Task-number: QTCREATORBUG-14983
Reviewed-by: default avatarJoerg Bornemann <>
parent 1eafa74b
......@@ -172,7 +172,6 @@ Rectangle {
windowStart: zoomControl.windowStart
rangeDuration: zoomControl.rangeDuration
contentX: content.contentX
clip: true
ButtonsBar {
......@@ -151,6 +151,7 @@ Item {
width: timeDisplay.pixelsPerSection
Rectangle {
visible: column.stableIndex !== 0 || (-row.x < parent.x + x)
color: "#CCCCCC"
width: 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment