diff options
| author | 2015-07-25 21:59:17 +0200 | |
|---|---|---|
| committer | 2015-07-26 16:07:46 +0200 | |
| commit | cd06f5cedbd08e9ca9e89246c249ad7f341a7236 (patch) | |
| tree | c719be02b1cac9ce64ddc9ac54fa2e9006721945 /src | |
| parent | Merge pull request #986 from Lectem/better_widgets (diff) | |
| download | yuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.tar.gz yuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.tar.xz yuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.zip | |
citra-qt/command list: monospace font on windows
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp index 7ac3ea542..9034b120e 100644 --- a/src/citra_qt/debugger/graphics_cmdlists.cpp +++ b/src/citra_qt/debugger/graphics_cmdlists.cpp | |||
| @@ -300,7 +300,9 @@ GPUCommandListWidget::GPUCommandListWidget(QWidget* parent) : QDockWidget(tr("Pi | |||
| 300 | 300 | ||
| 301 | list_widget = new QTreeView; | 301 | list_widget = new QTreeView; |
| 302 | list_widget->setModel(model); | 302 | list_widget->setModel(model); |
| 303 | list_widget->setFont(QFont("monospace")); | 303 | QFont font("monospace"); |
| 304 | font.setStyleHint(QFont::Monospace); // Automatic fallback to a monospace font on on platforms without a font called "monospace" | ||
| 305 | list_widget->setFont(font); | ||
| 304 | list_widget->setRootIsDecorated(false); | 306 | list_widget->setRootIsDecorated(false); |
| 305 | list_widget->setUniformRowHeights(true); | 307 | list_widget->setUniformRowHeights(true); |
| 306 | 308 | ||