diff --git a/src/drivers/Qt/CheatsConf.cpp b/src/drivers/Qt/CheatsConf.cpp index 2f1de97d..339d18d0 100644 --- a/src/drivers/Qt/CheatsConf.cpp +++ b/src/drivers/Qt/CheatsConf.cpp @@ -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");