Commit d09f3993 authored by Tobias Hunger's avatar Tobias Hunger

MiniProjectTargetSelector: Work with no sidebar

Fix MiniProjectTargetSelector becoming too small when no sidebar is
displayed.

Task-number: QTCREATORBUG-9423
Change-Id: I40f9093f7217448c3b29a699aa8e07710127d608
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 34902ab6
......@@ -779,7 +779,9 @@ void MiniProjectTargetSelector::doLayout(bool keepSize)
m_summaryLabel->move(0, summaryLabelY);
// Height to be aligned with side bar button
int alignedWithActionHeight = actionBar->height() - statusBar->height();
int alignedWithActionHeight = 210;
if (actionBar->isVisible())
alignedWithActionHeight = actionBar->height() - statusBar->height();
int bottomMargin = 9;
int totalHeight = 0;
......
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