From f76c5dc8e30b87b57c4ad9fa2cf1b717740e1045 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 4 Sep 2018 08:14:18 +0200 Subject: [PATCH] Debugger: Left-align status line contents Change-Id: Idd6e32aa113b8eccc828b519fa0946e5051fc55d Reviewed-by: Christian Stenger --- src/plugins/debugger/debuggermainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggermainwindow.cpp b/src/plugins/debugger/debuggermainwindow.cpp index bf4b6af59f0..3f04cf18962 100644 --- a/src/plugins/debugger/debuggermainwindow.cpp +++ b/src/plugins/debugger/debuggermainwindow.cpp @@ -191,6 +191,7 @@ DebuggerMainWindowPrivate::DebuggerMainWindowPrivate(DebuggerMainWindow *parent) m_centralWidgetStack = new QStackedWidget; m_statusLabel = new Utils::StatusLabel; m_statusLabel->setProperty("panelwidget", true); + m_statusLabel->setIndent(2 * QFontMetrics(q->font()).width(QChar('x'))); m_editorPlaceHolder = new EditorManagerPlaceHolder; m_perspectiveChooser = new QComboBox; @@ -411,7 +412,6 @@ void DebuggerMainWindowPrivate::ensureToolBarDockExists() hbox->addWidget(m_perspectiveChooser); // <- All perspective toolbars will get inserted here, but only // the current perspective's toolbar is set visible. - hbox->addStretch(3); hbox->addWidget(m_statusLabel); hbox->addStretch(1); hbox->addWidget(new Utils::StyledSeparator);