aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <[email protected]>2015-02-07 01:59:43 +0100
committerJean-Baptiste Mardelle <[email protected]>2015-02-07 01:59:43 +0100
commit55bf280addb9637bcb7aa085f82730569ac39b7d (patch)
tree49f08efeb257fd3f6fd7463b881ef4aa01317432
parent3d60ee16221a48839628944346bf25ff279ef1fd (diff)
Fix timeline taking all screen space when not necessary
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 63e3c6a..cd2023c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -155,7 +155,7 @@ MainWindow::MainWindow(const QString &MltPath, const QUrl &Url, const QString &
m_timelineArea = new QTabWidget(this);
//m_timelineArea->setTabReorderingEnabled(true);
//m_timelineArea->setTabBarHidden(true);
- m_timelineArea->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
+ m_timelineArea->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
m_timelineArea->setMinimumHeight(200);
// FIXME: the next call returns a newly allocated object, which leaks