Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
1a5e5b5c
Commit
1a5e5b5c
authored
Apr 09, 2020
by
Jean-Baptiste Mardelle
Browse files
Minor improvement to track name alignment
parent
ac064e80
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/TrackHead.qml
View file @
1a5e5b5c
...
...
@@ -294,13 +294,14 @@ Rectangle {
}
Label
{
anchors.left
:
trackLed
.
right
anchors.top
:
parent
.
top
anchors.leftMargin
:
2
anchors.verticalCenter
:
parent
.
verticalCenter
height
:
trackLed
.
height
text
:
trackHeadRoot
.
trackName
font
:
miniFont
verticalAlignment
:
Text
.
AlignVCenter
horizontalAlignment
:
Text
.
AlignHCenter
visible
:
track
HeadRoot
.
collapsed
&&
trackHeadRoot
.
width
>
trackTarget
.
width
+
expandButton
.
width
+
trackLed
.
width
+
(
4
*
muteButton
.
width
)
+
4
visible
:
!
track
Label
.
visible
&&
trackHeadRoot
.
width
>
trackTarget
.
width
+
expandButton
.
width
+
trackLed
.
width
+
(
4
*
muteButton
.
width
)
+
4
}
Row
{
width
:
childrenRect
.
width
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment