Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Better startup layout for smaller screens

parent 2afca10f
......@@ -3301,5 +3301,5 @@ void Bin::invalidateClip(const QString &binId)
QSize Bin::sizeHint() const
{
return QSize(350, 800);
return QSize(350, pCore->window()->height() / 2);
}
......@@ -1562,10 +1562,7 @@ bool MainWindow::readOptions()
QStyle *style = qApp->style();
trackHeight += style->pixelMetric(QStyle::PM_ToolBarIconSize) + 2 * style->pixelMetric(QStyle::PM_ToolBarItemMargin) +
style->pixelMetric(QStyle::PM_ToolBarItemSpacing) + 2;
KdenliveSettings::setTrackheight(trackHeight);
}
if (KdenliveSettings::trackheight() == 0) {
KdenliveSettings::setTrackheight(50);
KdenliveSettings::setTrackheight(trackHeight == 0 ? 50 : trackHeight);
}
bool firstRun = false;
KConfigGroup initialGroup(config, "version");
......
......@@ -36,7 +36,7 @@ TimelineContainer::TimelineContainer(QWidget *parent)
QSize TimelineContainer::sizeHint() const
{
return QSize(800, 200);
return QSize(800, pCore->window()->height() / 2);
}
TimelineTabs::TimelineTabs(QWidget *parent)
......
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