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

Center align git blame inline notes text

parent 79fc69cf
Pipeline #177611 passed with stage
in 9 minutes and 19 seconds
......@@ -107,7 +107,7 @@ void GitBlameInlineNoteProvider::paintInlineNote(const KTextEditor::InlineNote &
color.setAlpha(note.underMouse() ? 130 : 90);
painter.setPen(color);
painter.setBrush(color);
painter.drawText(rectangle, text);
painter.drawText(rectangle, Qt::AlignLeft | Qt::AlignVCenter, text);
}
void GitBlameInlineNoteProvider::inlineNoteActivated(const KTextEditor::InlineNote &note, Qt::MouseButtons buttons, const QPoint &)
......
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