-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
5.0
-
generic
-
generic
Provided FlowLayout container got enough space to honour preferred size
of child component, than preferred size of component should be honoured by
container with FlowLayout
Steps to reproduce:
1) Run attached test TestFlowLayout
2) Click on button "Increase font size", this will change component preferred size.
3) This will display the preferred size and actual size, note they are not same
while there is enough space in container, and flowlayout java document says
"A flow layout lets each component assume its natural (preferred) size"
So either FlowLayout should honour component preferred size or FlowLayout java
document should be modified.
Note:
There also seems a trend.
When using font size 14, Actual size is equals to preferred size in font 13
Similarly in font size 15, Actual size is equals to preferred size in font 14
And so on.
###@###.### 2004-03-04
of child component, than preferred size of component should be honoured by
container with FlowLayout
Steps to reproduce:
1) Run attached test TestFlowLayout
2) Click on button "Increase font size", this will change component preferred size.
3) This will display the preferred size and actual size, note they are not same
while there is enough space in container, and flowlayout java document says
"A flow layout lets each component assume its natural (preferred) size"
So either FlowLayout should honour component preferred size or FlowLayout java
document should be modified.
Note:
There also seems a trend.
When using font size 14, Actual size is equals to preferred size in font 13
Similarly in font size 15, Actual size is equals to preferred size in font 14
And so on.
###@###.### 2004-03-04