Added ability to change the font size.

It mostly works. It's a little wonky sometimes but it will mostly change all fonts in the application to the size you set.
This commit is contained in:
Collin Kidder
2017-12-10 20:02:11 -05:00
parent d25c01ed1a
commit f4474badc5
4 changed files with 38 additions and 1 deletions
+4
View File
@@ -284,6 +284,10 @@ void MainWindow::readSettings()
{
ui->cbAutoScroll->setChecked(true);
}
int fontSize = settings.value("Main/FontSize", 9).toUInt();
QFont newFont = QFont(ui->canFramesView->font());
newFont.setPointSize(fontSize);
ui->canFramesView->setFont(newFont);
readUpdateableSettings();
}