Changed cheat window text entry field sizing to be proportional to average font char width.

This commit is contained in:
Matthew Budd 2020-08-15 21:20:58 -04:00
parent cf9d6798b3
commit b749c0982e
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ GuiCheatsDialog_t::GuiCheatsDialog_t(QWidget *parent)
QFontMetrics fm(font);
fontCharWidth = fm.boundingRect('X').width() * devPixRatio;
//fontCharWidth = fm.boundingRect('X').width() * devPixRatio;
fontCharWidth = 2.00 * fm.averageCharWidth() * devPixRatio;
setWindowTitle("Cheat Search");