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:
parent
86ffdcee3a
commit
ea97709f85
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue