Project: SWT
Bug 64590 [browser] widget not sized properly
Reported: 2004-05-28 13:09:36 | Status: resolved fixed

I was using I20040528-0010 build. The browser wiget on motif displays about 200x200 size, not the size parent expects it to take. Resizing a window causes browser to be redrawn correctly. This is visible when launching help, as well as using "bring up the browser" SWT snippet. Interestingly if shell.setSize() is not called before shell.open(), it works (browser widget taking correct size). If shell.setSize() is called before and after shell.open(), it does not work. If shell.setSize() is called before and after shell.open(), and shell had SWT.DIALOG_TRIM style, it works.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java