[SWINGX-1343] JXStatusBar incorrectly returns preferred size for minimum size Created: 10/Sep/10 Updated: 28/Jan/11 Resolved: 01/Nov/10
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Operating System: All
JXStatusBar is blowing up parent containers. It needs a minimum width of 0.
A JXLabel or JLabel has a preferred size which is the render size of its text.
JXStatusBar has a LayoutManager in BasicStatusBarUI which uses the preferred
If you put a JXLabel into a JXStatusBar, then the JXStatusBar minimum size is
This blows the enclosing window out of proportion.
If you override getMinimumSize() in JXStatusBar to return a 0 width, with the
Proper fix: The LayoutManager in BasicStatusBarUI should return 0 width (and
|Comment by Karl Schaefer [ 11/Sep/10 ]|
It is not necessarily a bug for a component's minimum size to be the same size
Please provide a test case (self-contained and runnable) that demonstrates why
|Comment by Karl Schaefer [ 07/Oct/10 ]|
No test case. Resolving invalid.