Skip to content

Commit b46f7f6

Browse files
committed
Fixed buffer dump font on windows
1 parent 200dda8 commit b46f7f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

qt/main_window.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ void MainWindow::initBufTable()
4343
ui->bufferTableView->setColumnWidth(HEADER_ADDRESS_COL,
4444
HEADER_ADDRESS_WIDTH);
4545
ui->bufferTableView->setColumnWidth(HEADER_HEX_COL, HEADER_HEX_WIDTH);
46+
#ifdef Q_OS_WIN32
47+
QFont font("Courier New", 6);
48+
ui->bufferTableView->setFont(font);
49+
#endif
4650
}
4751

4852
void MainWindow::resetBufTable()

0 commit comments

Comments
 (0)