forked from qt-creator/qt-creator
Debugger: Fix "jumping" status label
There are two layout stretches with equal stretch factors fighting against each other. That makes the status label which is positioned between the stretches jump around with changing content length. This change increases the factor of the last stretch, which causes the label position to stay constant. Change-Id: I4e98d8b1fd6876f707911d1e90fa90165c8c2ff1 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -158,7 +158,7 @@ void DebuggerMainWindow::finalizeSetup()
|
||||
hbox->addWidget(m_perspectiveChooser);
|
||||
hbox->addWidget(m_controlsStackWidget);
|
||||
hbox->addWidget(m_statusLabel);
|
||||
hbox->addStretch();
|
||||
hbox->addStretch(1);
|
||||
hbox->addWidget(new Utils::StyledSeparator);
|
||||
hbox->addWidget(viewButton);
|
||||
|
||||
|
Reference in New Issue
Block a user