diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2023-06-05 11:19:13 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2023-06-06 09:32:12 +0000 |
commit | b3e51d62428efa807d7d41919fcf7595421fc3db (patch) | |
tree | c7c1d7c1dbd254a9e81a767582a3bc2b4e29d976 | |
parent | 0a1073f7cdcef6303ca01afd472838af5a6530b7 (diff) |
ProjectExplorer: Fix build progress icon alignment
The build progress warnings/error icons were not vertically centered.
That was noticeable with the "Relaxed" toobar style.
Fixes: QTCREATORBUG-29252
Change-Id: I921ccc936c3233b2b2f80979aaae2b09709dbcff
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r-- | src/plugins/projectexplorer/buildprogress.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp index a78b8a1b79..7166ab474d 100644 --- a/src/plugins/projectexplorer/buildprogress.cpp +++ b/src/plugins/projectexplorer/buildprogress.cpp @@ -60,8 +60,8 @@ BuildProgress::BuildProgress(TaskWindow *taskWindow, Qt::Orientation orientation m_errorLabel->setProperty("_q_custom_style_disabled", QVariant(true)); m_warningLabel->setProperty("_q_custom_style_disabled", QVariant(true)); - m_errorIcon->setAlignment(Qt::AlignRight); - m_warningIcon->setAlignment(Qt::AlignRight); + m_errorIcon->setAlignment(Qt::AlignRight | Qt::AlignVCenter); + m_warningIcon->setAlignment(Qt::AlignRight | Qt::AlignVCenter); m_errorIcon->setPixmap(Utils::Icons::CRITICAL_TOOLBAR.pixmap()); m_warningIcon->setPixmap(Utils::Icons::WARNING_TOOLBAR.pixmap()); |