all repos — mgba @ a9c94e9d1867d0f1f00547dac4880decfb15405e

mGBA Game Boy Advance Emulator

Qt: Fix font size in memory viewer
Jeffrey Pfau jeffrey@endrift.com
Sun, 01 Nov 2015 23:01:31 -0800
commit

a9c94e9d1867d0f1f00547dac4880decfb15405e

parent

ddbbed133e555afdd4d6c8468e04c1b8108dda9e

2 files changed, 5 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -13,6 +13,7 @@ - Qt: Fix a race condition in PainterGL that could lead to a crash

- Qt: Fix clear button/analog buttons in gamepad mapper on some platforms - GBA Video: Fix _mix for 15-bit color - VFS: Fix VFileReadline and remove _vfdReadline + - Qt: Fix font size in memory viewer Misc: - Qt: Window size command line options are now supported - Qt: Increase usability of key mapper
M src/platform/qt/MemoryModel.cppsrc/platform/qt/MemoryModel.cpp

@@ -34,7 +34,11 @@ , m_selectionAnchor(0)

{ m_font.setFamily("Source Code Pro"); m_font.setStyleHint(QFont::Monospace); +#ifdef Q_OS_MAC m_font.setPointSize(12); +#else + m_font.setPointSize(10); +#endif QFontMetrics metrics(m_font); m_cellHeight = metrics.height(); m_letterWidth = metrics.averageCharWidth();