Bug 16774 - Box Layout shouldn't resize components to fill the entire space of the container
Summary: Box Layout shouldn't resize components to fill the entire space of the container
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: swing (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: 0.18
Assignee: graydon hoare
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 01:05 UTC by rodimina
Modified: 2005-10-16 01:47 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-05-04 02:12:18


Attachments
Test program to reproduce the bug (287 bytes, text/plain)
2004-07-27 01:20 UTC, Thomas Fitzsimmons
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rodimina 2004-05-27 10:41:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031030

Description of problem:
Box Layout doesn't work properly.  The components in container with
BoxLayout shouldn't be expanded to fill entire space. They should
remain at their preferred sizes.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.write simple program that creates a container with BoxLayout
containing one component in the Frame
2.run the program and resize the frame

    

Actual Results:  The component inside the frame will be resized to
fill the entire space. 

Expected Results:  Instead the component shouldn't resize itself. Its
size should remain the same

Additional info:
Comment 1 rodimina 2004-05-27 10:44:31 UTC
Created attachment 100633
Comment 2 Thomas Fitzsimmons 2004-07-27 01:20:29 UTC
Created attachment 6839 [details]
Test program to reproduce the bug

reattach test case
Comment 3 Thomas Fitzsimmons 2005-08-21 20:27:19 UTC
Fixed.  Closing.