Implement the UI option for preferring monospaced font

This commit is contained in:
baldurk
2017-05-04 16:00:51 +01:00
parent 0b868e45c0
commit ab432f24fc
20 changed files with 238 additions and 19 deletions
+3
View File
@@ -38,6 +38,9 @@ APIInspector::APIInspector(ICaptureContext &ctx, QWidget *parent)
ui->splitter->setCollapsible(1, true);
ui->splitter->setSizes({1, 0});
ui->callstack->setFont(Formatter::PreferredFont());
ui->apiEvents->setFont(Formatter::PreferredFont());
RDSplitterHandle *handle = (RDSplitterHandle *)ui->splitter->handle(1);
handle->setTitle(tr("Callstack"));
handle->setIndex(1);