Commit 6070715e authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Replace mysterious icon with clear text button for Master effects.

Fixes #446
parent 56c650cd
......@@ -737,13 +737,15 @@ Rectangle {
border.color: selected? 'red' : 'transparent'
border.width: selected? 1 : 0
z: 1
OLD.ToolButton {
iconName: "kdenlive-composite"
tooltip: i18n("Show master effects")
anchors.verticalCenter: parent.verticalCenter
Layout.leftMargin: 2
implicitWidth: Math.min(ruler.height, root.baseUnit * 2)
implicitHeight: implicitWidth
Button {
text: parent.width > metrics.boundingRect.width * 1.4 ? metrics.text : "M"
anchors.fill: parent
anchors.leftMargin: 2
anchors.rightMargin: 2
TextMetrics {
id: metrics
text: i18n("Master")
}
onClicked: {
timeline.showMasterEffects()
}
......
  • Does the tooltip for Master is still available when hover over the icon?

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