[vlmc-devel] Track.qml: Put trackText outside of the Row of buttons

Yikai Lu git at videolan.org
Tue Aug 16 03:36:59 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Aug 15 17:54:27 2016 -0500| [9fdb468f2e104751f12ac1ea2bcd8d62679c70f5] | committer: Yikai Lu

Track.qml: Put trackText outside of the Row of buttons

> https://code.videolan.org/videolan/vlmc/commit/9fdb468f2e104751f12ac1ea2bcd8d62679c70f5
---

 src/Gui/timeline/Track.qml | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/src/Gui/timeline/Track.qml b/src/Gui/timeline/Track.qml
index 2ab0465..35abd60 100644
--- a/src/Gui/timeline/Track.qml
+++ b/src/Gui/timeline/Track.qml
@@ -376,17 +376,19 @@ Item {
             color: "#111111"
         }
 
-        Row {
-            spacing: 4
+        Text {
+            id: trackText
             anchors.verticalCenter: parent.verticalCenter
-            x: 20
+            x: 10
+            text: type + " " + ( trackId + 1 )
+            color: "white"
+            font.pointSize: trackHeight / 3
+        }
 
-            Text {
-                id: trackText
-                text: type + " " + ( trackId + 1 )
-                color: "white"
-                font.pointSize: trackHeight / 3
-            }
+        Row {
+            anchors.verticalCenter: parent.verticalCenter
+            x: parent.width / 2
+            spacing: 4
 
             PropertyButton {
                 id: fxButton



More information about the Vlmc-devel mailing list