Debugger: Left-align status line contents

Change-Id: Idd6e32aa113b8eccc828b519fa0946e5051fc55d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-09-04 08:14:18 +02:00
parent 2d93a20bb6
commit f76c5dc8e3

View File

@@ -191,6 +191,7 @@ DebuggerMainWindowPrivate::DebuggerMainWindowPrivate(DebuggerMainWindow *parent)
m_centralWidgetStack = new QStackedWidget; m_centralWidgetStack = new QStackedWidget;
m_statusLabel = new Utils::StatusLabel; m_statusLabel = new Utils::StatusLabel;
m_statusLabel->setProperty("panelwidget", true); m_statusLabel->setProperty("panelwidget", true);
m_statusLabel->setIndent(2 * QFontMetrics(q->font()).width(QChar('x')));
m_editorPlaceHolder = new EditorManagerPlaceHolder; m_editorPlaceHolder = new EditorManagerPlaceHolder;
m_perspectiveChooser = new QComboBox; m_perspectiveChooser = new QComboBox;
@@ -411,7 +412,6 @@ void DebuggerMainWindowPrivate::ensureToolBarDockExists()
hbox->addWidget(m_perspectiveChooser); hbox->addWidget(m_perspectiveChooser);
// <- All perspective toolbars will get inserted here, but only // <- All perspective toolbars will get inserted here, but only
// the current perspective's toolbar is set visible. // the current perspective's toolbar is set visible.
hbox->addStretch(3);
hbox->addWidget(m_statusLabel); hbox->addWidget(m_statusLabel);
hbox->addStretch(1); hbox->addStretch(1);
hbox->addWidget(new Utils::StyledSeparator); hbox->addWidget(new Utils::StyledSeparator);