Set minimum debugger assembly viewport width at construction to avoid window resizing when upon initial load of assembly text. Part of #322.

This commit is contained in:
mjbudd77 2021-02-18 21:29:55 -05:00
parent 86ffdcee3a
commit ea97709f85
1 changed files with 3 additions and 1 deletions

View File

@ -2220,7 +2220,7 @@ void QAsmView::updateAssemblyView(void)
pxLineWidth = maxLineLen * pxCharWidth;
setMinimumWidth( 50 * pxCharWidth );
//setMinimumWidth( 50 * pxCharWidth );
vbar->setMaximum( asmEntry.size() );
}
@ -3010,6 +3010,8 @@ QAsmView::QAsmView(QWidget *parent)
calcFontData();
setMinimumWidth( 50 * pxCharWidth );
vbar = NULL;
hbar = NULL;
asmPC = NULL;