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.

Bug 54932 - UI elements have hard-coded dimesions - ignore font size
Summary: UI elements have hard-coded dimesions - ignore font size
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords: A11Y, REGRESSION, SIMPLEFIX, UI
Depends on:
Blocks:
 
Reported: 2005-02-14 12:34 UTC by Marian Petras
Modified: 2006-05-26 13:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (71.23 KB, image/png)
2005-02-14 12:36 UTC, Marian Petras
Details
screenshot of the wizard in NB 5.0 (61.12 KB, image/png)
2006-02-17 11:27 UTC, Marian Petras
Details
screenshot of the fixed dialog in NB 5.5 dev. (20.37 KB, image/gif)
2006-05-26 13:08 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2005-02-14 12:34:39 UTC
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
Comment 1 Marian Petras 2005-02-14 12:36:39 UTC
Created attachment 20328 [details]
screenshot
Comment 2 Marian Petras 2005-02-14 12:40:32 UTC
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.
Comment 3 Marian Petras 2005-02-14 12:43:02 UTC
The buggy code is in class

web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelOptionsVisual.java
Comment 4 Martin Krauskopf 2005-03-01 12:53:54 UTC
I can help with this.
Comment 5 Martin Krauskopf 2005-03-01 13:43:14 UTC
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
Comment 6 Marian Petras 2005-03-22 16:48:57 UTC
Verified in a dev. build (050322). Thanks.

Marked as VERIFIED.
Comment 7 Marian Petras 2006-02-17 11:25:56 UTC
This bug is here again in the final release of NetBeans 5.0!
See the screenshot.
Comment 8 Marian Petras 2006-02-17 11:27:32 UTC
Created attachment 28916 [details]
screenshot of the wizard in NB 5.0
Comment 9 Martin Krauskopf 2006-02-17 11:31:11 UTC
This was just my contribution in a free time. Probably not too useful, sorry.
Reassigning.
Comment 10 Martin Krauskopf 2006-02-17 11:33:30 UTC
However I though I fixed the appropriate widht of the comboboxes. Maybe this is
little different case. Really cannot recall now.
Comment 11 Marian Petras 2006-02-17 13:07:49 UTC
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.
Comment 12 Radko Najman 2006-05-26 09:04:09 UTC
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
Comment 13 Marian Petras 2006-05-26 13:07:12 UTC
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).
Comment 14 Marian Petras 2006-05-26 13:08:18 UTC
Created attachment 30612 [details]
screenshot of the fixed dialog in NB 5.5 dev.