This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Some UI elements of the New Web Application wizard have hard-coded minimum and/or preferred size. The result is that: - size of these elements does not scale with font size - look of these elements differs from other elements of the same type
Created attachment 20328 [details] screenshot
Look at the screenshot. Combo-boxes 'Source Structure' and 'J2EE Specification Version' are too small so that the text within them is truncated. The two combo-boxes plus combo-box 'Server' are narrower than combo-box 'Add to Enterprise Application'. It does not look good and the text might not fit in them if font size would be a little bit larger.
The buggy code is in class web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelOptionsVisual.java
I can help with this.
Fixed. Checking in web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelOptionsVisual.form; new revision: 1.17; previous revision: 1.16 Checking in web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelOptionsVisual.java; new revision: 1.20; previous revision: 1.19
Verified in a dev. build (050322). Thanks. Marked as VERIFIED.
This bug is here again in the final release of NetBeans 5.0! See the screenshot.
Created attachment 28916 [details] screenshot of the wizard in NB 5.0
This was just my contribution in a free time. Probably not too useful, sorry. Reassigning.
However I though I fixed the appropriate widht of the comboboxes. Maybe this is little different case. Really cannot recall now.
I think you fixed it (and I have verified it). But the dialog apparently has changed since then and sizes of some elements are hard-coded, again.
Fixed. Checking in PanelOptionsVisual.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelOptionsVisual.java,v <-- PanelOptionsVisual.java new revision: 1.24.2.6.2.7; previous revision: 1.24.2.6.2.6 done Checking in ImportLocationVisual.form; /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/ImportLocationVisual.form,v <-- ImportLocationVisual.form new revision: 1.9.32.2.2.4; previous revision: 1.9.32.2.2.3 done Checking in PanelOptionsVisual.form; /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelOptionsVisual.form,v <-- PanelOptionsVisual.form new revision: 1.20.20.3.2.3; previous revision: 1.20.20.3.2.2 done Checking in ImportLocationVisual.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/ImportLocationVisual.java,v <-- ImportLocationVisual.java new revision: 1.31.30.5.2.8; previous revision: 1.31.30.5.2.7 done
Thank you for the fix. It seems you fixed everything you could fix. The only remaining issue now is that the whole dialog does not fit to the window - the checkbox at bottom of the dialog is unreadable - see the screenshot (taken on system with Fedora Core 4, JDK 1.6.0-b84, fontsize set to 17).
Created attachment 30612 [details] screenshot of the fixed dialog in NB 5.5 dev.