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.
first gif shows how its invoked; second one shows after resize to show whats not seen in original invocation. this is font chooser of uml global colors and fonts window.
Created attachment 51338 [details] image
Created attachment 51339 [details] image
Created attachment 54974 [details] image
first image might be corrupt; third image is the same as it is and shows the resize situation. could this be fixed for 6.1 ? ken.frank@sun.com
making p2 to be consistent with other resize issues; it was filed at wrong priority. ken.frank@sun.com
Fixed the resize issue and tested with bigger font size (18, 24, ...).
To fix the build I had to add Checking in PreferenceDialogUI.java; /shared/data/ccvs/repository/uml/core/src/org/netbeans/modules/uml/ui/swing/preferencedialog/PreferenceDialogUI.java,v <-- PreferenceDialogUI.java new revision: 1.4; previous revision: 1.3 done
Ken, I tried with different large en font sizes and fix seems to work. Could you please give this a try on your system and mark it verified if the fix is good. Thanks.
comment from Ken: I can see that bottom like at Show Types On: the dropdown near it not show completely. the 2 left and right sections of the window - I can't get them to resize by placing cursor in between and moving the mouse left or right (without resizing window) and that is why it seems issue is not fixed. if it could resize, then there is no problem. when resize window, the resize happens to the right but not the left, but user should not need to resize it.
We should behave the same way that the Font dialog works in the Font & Colors section of the Options panel. Matter a fact if we are able to reuse the same dialog that would be the best situation. I am confused by the following statement: "when resize window, the resize happens to the right but not the left, but user should not need to resize it." Are you saying that the dialog should automatically resize when a new font and size is selected? If that is the case I do not see the Options Font dialog acting that way.
as per Trey's comments - my wording not clear enough - in this case by resize meant when I put mouse between the 2 sections of that window, and cursor turns to a |, then try to drag on that cursor to the right or to the left, if I have not resized the entire window, the dragging can happen so that right side gets smaller or larger, but left side cannot be made larger - and thus because of this, the parts of the left side dont completely show, making this a resize situation. ken.frank@sun.com
Trey, Ken, Peter, As Trey has suggested below, I can modify our code to reuse the Netbeans Font Chooser dialog (see attached images). Only one concern is ... if there is any issue arise regarding NB Font Chooser, we have to depend on NB team to fix it. If you're all ok with that, I can switch to use NB Font chooser now. Let me know.
I think that is great. If there is a bug in the NB Font Dialog, then it needs to be fixed for the General NB product anyway.
Created attachment 57314 [details] NB Font Chooser to replace UML Font Chooser
The attached image is corrupted. Attaching the second time...
Created attachment 57315 [details] NB Font Chooser diaglog
Fixed to use NB FontChooser dialog. -------------------------------------- changeset: 69785:3561948ab738 tag: tip user: lvv@netbeans.org date: Wed Feb 27 11:12:57 2008 -0800 summary: Thuy's fix for 119526 I18N - font chooser in options does not resize to show all its contents
Verified the new font chooser in the latest build. Things seem to work well. Since this is the NB Font Chooser, if there's is i18n issue on this dialog an issue should now be filed on NB.