mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-30 02:16:33 +00:00
Set font size properly on scintilla editors
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user