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
@@ -80,6 +80,10 @@ RemoteManager::RemoteManager(ICaptureContext &ctx, MainWindow *main)
m_ExternalRef.release(1);
ui->hosts->setFont(Formatter::PreferredFont());
ui->hostname->setFont(Formatter::PreferredFont());
ui->runCommand->setFont(Formatter::PreferredFont());
ui->hosts->setColumns({tr("Hostname"), tr("Running")});
ui->hosts->header()->setSectionResizeMode(0, QHeaderView::Stretch);