Set font size properly on scintilla editors

This commit is contained in:
baldurk
2026-08-13 21:05:12 +01:00
parent 0f50ff29c5
commit 45d22e3f0d
3 changed files with 12 additions and 6 deletions
+1
View File
@@ -41,6 +41,7 @@ CommentView::CommentView(ICaptureContext &ctx, QWidget *parent)
m_commentsEditor = new ScintillaEdit(this);
m_commentsEditor->styleSetFont(STYLE_DEFAULT, Formatter::FixedFont().family().toUtf8().data());
m_commentsEditor->styleSetSize(STYLE_DEFAULT, Formatter::FixedFont().pointSize());
m_commentsEditor->setTabWidth(4);
m_commentsEditor->setWrapMode(SC_WRAP_WORD);