From 20f852eb269e6fcb33e44e4d19a2c93927c98999 Mon Sep 17 00:00:00 2001 From: mjbudd77 Date: Wed, 9 Feb 2022 05:23:34 -0500 Subject: [PATCH] Set minimum width on misc ROM entry field in iNES header editor for Qt GUI. --- src/drivers/Qt/iNesHeaderEditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/Qt/iNesHeaderEditor.cpp b/src/drivers/Qt/iNesHeaderEditor.cpp index c21bfe63..124faa44 100644 --- a/src/drivers/Qt/iNesHeaderEditor.cpp +++ b/src/drivers/Qt/iNesHeaderEditor.cpp @@ -465,6 +465,7 @@ iNesHeaderEditor_t::iNesHeaderEditor_t(QWidget *parent) miscRomsEdit->setMaxLength( 1 ); miscRomsEdit->setValidator( validator ); miscRomsEdit->setAlignment(Qt::AlignCenter); + miscRomsEdit->setMinimumWidth( 3 * fontCharWidth ); miscRomsEdit->setMaximumWidth( 3 * fontCharWidth ); grid = new QGridLayout();