forked from qt-creator/qt-creator
MiniProjectTargetSelector: Work with no sidebar
Fix MiniProjectTargetSelector becoming too small when no sidebar is displayed. Task-number: QTCREATORBUG-9423 Change-Id: I40f9093f7217448c3b29a699aa8e07710127d608 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -779,7 +779,9 @@ void MiniProjectTargetSelector::doLayout(bool keepSize)
|
|||||||
m_summaryLabel->move(0, summaryLabelY);
|
m_summaryLabel->move(0, summaryLabelY);
|
||||||
|
|
||||||
// Height to be aligned with side bar button
|
// 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 bottomMargin = 9;
|
||||||
int totalHeight = 0;
|
int totalHeight = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user