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 117366 - I18N - resize situation in properties of module suite
Summary: I18N - resize situation in properties of module suite
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: rmichalsky
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-01 20:01 UTC by Ken Frank
Modified: 2009-05-25 20:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (132.37 KB, image/gif)
2007-10-01 20:03 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-10-01 20:01:41 UTC
originally filed in 64780 or transferred to there, but I think this is unique to this project;
other resize situations in other projects have been filed in the category of that project.

see attached, the dropdown for color overwrites part of the color values

and the dropdown does not show the items fully (or the default/chosen item fully in this gif)
Comment 1 Ken Frank 2007-10-01 20:03:16 UTC
Created attachment 49928 [details]
image
Comment 2 Ken Frank 2008-01-11 20:42:27 UTC
could this be fixed for 6.1 ?

ken.frank@sun.com
Comment 3 rmichalsky 2008-06-23 10:48:47 UTC
What is your preferred solution to this issue? Increase default size of the panel? Will it not get fixed with #64780?
Comment 4 Ken Frank 2008-06-23 15:32:15 UTC
I didn't think this was related per se to the other issue.

as to fixing approach, I don't know if increasing panel size per se
is needed, rather than coding so that it or its contents dynamically
resize as needed, using layout managers.  I don't know specific api
calls for this but many nb developers do.

ken.frank@sun.com
Comment 5 rmichalsky 2008-06-23 17:18:21 UTC
There is not enough room for all the widgets on the screenshot. If panel size should stay the same and combo boxes
should dynamically resize than some other widgets must dynamically shrink. IMHO that means that either edit boxes on the
right end up really narrow or labels must shrink before content widgets, which is unusual - in most dialogs edit and
combo boxes shrink first and labels retain their size as long as possible. 

On the other hand you wrote that localized strings are expected to be 30% longer than English ones, while strings on the
given screenshot are approx. 100% longer, seems a bit of an overkill to me.
Comment 6 Ken Frank 2008-06-23 17:38:43 UTC
perhaps my wording was not exactly correct since as mentioned, don't know lower level
api details or approaches, but what I've been told many times, is that by coding
to do dynamic resizing, that is the way to approach these kind of issues
rather than hard coding based on possible expansion of translated string to
be longer than english; the point is to do it dynamically; please talk with
nb developers about this.

ken.frank@sun.com
Comment 7 Ken Frank 2008-06-23 17:42:26 UTC
perhaps my wording was not exactly correct since as mentioned, don't know lower level
api details or approaches, but what I've been told many times, is that by coding
to do dynamic resizing, that is the way to approach these kind of issues
rather than hard coding based on possible expansion of translated string to
be longer than english; the point is to do it dynamically; please talk with
nb developers about this.

ken.frank@sun.com
Comment 8 Jesse Glick 2008-06-23 20:37:42 UTC
Sounds like a duplicate of #64780 to me.
Comment 9 Lukas Hasik 2008-07-23 09:46:34 UTC
couldn't we just add scrollbars to the pane when it doesn't fit in? Simple solution that has been used many times in
different dialogs
Comment 10 rmichalsky 2009-05-20 11:34:55 UTC
Given the importance, closing.