mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
set the monospace font crossplattform
This commit is contained in:
@@ -104,6 +104,15 @@ void MainWindow::init()
|
||||
// Set other window settings
|
||||
setAcceptDrops(true);
|
||||
setWindowTitle(QApplication::applicationName());
|
||||
|
||||
|
||||
// Fonts for edit fields
|
||||
QFont font("Monospace");
|
||||
font.setStyleHint(QFont::TypeWriter);
|
||||
font.setPointSize(8);
|
||||
ui->sqlTextEdit->setFont(font);
|
||||
ui->editLogApplication->setFont(font);
|
||||
ui->editLogUser->setFont(font);
|
||||
}
|
||||
|
||||
//***********************************************************
|
||||
|
||||
Reference in New Issue
Block a user