Show clip duration on hover

Fixes #121 !41
parent 5de26b4c
......@@ -121,7 +121,11 @@ Rectangle {
contentItem: Label {
color: activePalette.text
font: miniFont
text: label.text + ' (' + timeline.simplifiedTC(clipRoot.inPoint) + '-' + timeline.simplifiedTC(clipRoot.outPoint) + ')'
text: '%1 (%2-%3)\n%4: %5'.arg(label.text)
.arg(timeline.simplifiedTC(clipRoot.inPoint))
.arg(timeline.simplifiedTC(clipRoot.outPoint))
.arg(i18n("Duration"))
.arg(timeline.simplifiedTC(clipRoot.clipDuration))
}
}
......
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