Commit 692be057 authored by luyikei's avatar luyikei

TrackContainer.qml: Cosmetics

parent 8ac9a713
...@@ -2,15 +2,9 @@ import QtQuick 2.0 ...@@ -2,15 +2,9 @@ import QtQuick 2.0
ListView { ListView {
id: container id: container
property bool isUpward
property string type
property ListModel tracks
width: parent.width width: parent.width
height: tracks.count * trackHeight height: tracks.count * trackHeight
verticalLayoutDirection: isUpward ? ListView.BottomToTop : ListView.TopToBottom verticalLayoutDirection: isUpward ? ListView.BottomToTop : ListView.TopToBottom
interactive: false interactive: false
focus: true focus: true
model: tracks model: tracks
...@@ -19,5 +13,9 @@ ListView { ...@@ -19,5 +13,9 @@ ListView {
type: container.type type: container.type
clips: model["clips"] clips: model["clips"]
} }
property bool isUpward
property string type
property ListModel tracks
} }
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