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
a0475858
Commit
a0475858
authored
Mar 27, 2020
by
Jean-Baptiste Mardelle
Browse files
minor track header size adjustment
parent
a5377035
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/TrackHead.qml
View file @
a0475858
...
...
@@ -34,7 +34,7 @@ Rectangle {
property
bool
current
:
false
property
int
myTrackHeight
property
int
trackId
:
-
42
property
int
buttonSize
:
root
.
baseUnit
*
1.8
property
int
buttonSize
:
root
.
collapsedHeight
property
int
iconSize
:
buttonSize
-
4
property
string
trackTag
property
int
thumbsFormat
:
0
...
...
@@ -187,7 +187,7 @@ Rectangle {
ToolButton
{
id
:
expandButton
anchors.left
:
trackHeadColumn
.
left
anchors.left
:
parent
.
left
height
:
trackHeadRoot
.
buttonSize
width
:
trackHeadRoot
.
buttonSize
focusPolicy
:
Qt
.
NoFocus
...
...
@@ -222,7 +222,8 @@ Rectangle {
background
:
Rectangle
{
color
:
trackLed
.
bgColor
}
width
:
fontMetrics
.
boundingRect
(
"
M
"
).
width
*
trackLed
.
text
.
length
width
:
fontMetrics
.
boundingRect
(
"
M
"
).
width
*
trackHeadRoot
.
trackTag
.
length
height
:
trackHeadRoot
.
buttonSize
y
:
1
verticalAlignment
:
Text
.
AlignVCenter
horizontalAlignment
:
Text
.
AlignHCenter
...
...
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