Commit a663605c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

TracksView: Making the tracks bigger.

parent ac1b4aac
...@@ -57,7 +57,7 @@ TracksView::TracksView( QGraphicsScene *scene, MainWorkflow *mainWorkflow, ...@@ -57,7 +57,7 @@ TracksView::TracksView( QGraphicsScene *scene, MainWorkflow *mainWorkflow,
m_renderer( renderer ) m_renderer( renderer )
{ {
//TODO should be defined by the settings //TODO should be defined by the settings
m_tracksHeight = 25; m_tracksHeight = 35;
m_numAudioTrack = 0; m_numAudioTrack = 0;
m_numVideoTrack = 0; m_numVideoTrack = 0;
...@@ -121,7 +121,7 @@ TracksView::addTrack( Workflow::TrackType type ) ...@@ -121,7 +121,7 @@ TracksView::addTrack( Workflow::TrackType type )
{ {
GraphicsTrack *track = new GraphicsTrack( type, GraphicsTrack *track = new GraphicsTrack( type,
type == Workflow::VideoTrack ? m_numVideoTrack : m_numAudioTrack ); type == Workflow::VideoTrack ? m_numVideoTrack : m_numAudioTrack );
track->setHeight( m_tracksHeight ); track->setHeight( tracksHeight() );
m_layout->insertItem( type == Workflow::VideoTrack ? 0 : 1000, track ); m_layout->insertItem( type == Workflow::VideoTrack ? 0 : 1000, track );
m_layout->activate(); m_layout->activate();
m_cursorLine->setHeight( m_layout->contentsRect().height() ); m_cursorLine->setHeight( m_layout->contentsRect().height() );
......
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