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 71244 - Minimum size of resizing component
Summary: Minimum size of resizing component
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2006-01-10 18:09 UTC by Tomas Pavek
Modified: 2008-04-29 11:21 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2006-01-10 18:09:25 UTC
Allow the user to change the minimum size of resizing components - whether it
should be 0, or whether component's minimum size should be honnored. Perhaps the
default state then should be 0 for components whose minimum size depends on
content, like labels, buttons, comboboxes. The problem is when the content
(text) changes so it does not fit in the component - then it perhaps should be
cut, not the component should grow. However, in general both cases are valid.

See also issue 68612 - which we fixed just by treating the combobox specially.
But the same problem may happen e.g. with a label showing file names (paths) -
that is supposed to cut the text if it is too long, not to grow.
Comment 1 Tomas Pavek 2006-01-12 16:36:56 UTC
Strange thing also happens with JTextArea with line wrap set to true. It can't
be shrunk once made bigger - if the minimum size it provides is taken seriously.