Commit 56164272 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Output: Fix icon alignment

(cherry picked from commit 7c362358)
parent cb96fa64
Pipeline #265785 skipped
......@@ -327,10 +327,10 @@ void KateOutputView::slotMessage(const QVariantMap &message)
const QString category = message.value(QStringLiteral("category")).toString().trimmed();
const auto categoryIcon = message.value(QStringLiteral("categoryIcon")).value<QIcon>();
if (categoryIcon.isNull()) {
meta += QStringLiteral(" <img src=\"") + QStringLiteral("dialog-scripts") + QStringLiteral("\"/> ");
meta += QStringLiteral(" <img style=\"vertical-align:middle\" src=\"") + QStringLiteral("dialog-scripts") + QStringLiteral("\"/> ");
} else {
m_textEdit->addIcon(category, categoryIcon);
meta += QStringLiteral(" <img src=\"") + category + QStringLiteral("\"/> ");
meta += QStringLiteral(" <img style=\"vertical-align:middle\" src=\"") + category + QStringLiteral("\"/> ");
}
meta += QStringLiteral("<span style=\"color:%1\">").arg(m_keywordColor) + category + QStringLiteral("</span> ");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment