Implement the UI option for preferring monospaced font

This commit is contained in:
baldurk
2017-05-04 20:36:46 +01:00
parent 0b868e45c0
commit ab432f24fc
20 changed files with 238 additions and 19 deletions
+6
View File
@@ -60,6 +60,12 @@ ShaderViewer::ShaderViewer(ICaptureContext &ctx, QWidget *parent)
{
ui->setupUi(this);
ui->constants->setFont(Formatter::PreferredFont());
ui->variables->setFont(Formatter::PreferredFont());
ui->watch->setFont(Formatter::PreferredFont());
ui->inputSig->setFont(Formatter::PreferredFont());
ui->outputSig->setFont(Formatter::PreferredFont());
// we create this up front so its state stays persistent as much as possible.
m_FindReplace = new FindReplace(this);