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.
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)
Created attachment 49928 [details] image
could this be fixed for 6.1 ? ken.frank@sun.com
What is your preferred solution to this issue? Increase default size of the panel? Will it not get fixed with #64780?
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
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.
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
Sounds like a duplicate of #64780 to me.
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
Given the importance, closing.