-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
fx2.0
-
Product: javafx-2.0beta
Platform: windows-i586
Build-Number: 2734
Build-ID: 2011-08-23_05-39-50
See the screenshot. Min width of FlowPane is bigger than its content which causes this bad layout. According to our conversation with Amy, minWidth for FlowPane should be reduced to the widest node width.
> • Pref width for FlowPane should be based on its content pref size.
No. prefWidth of FlowPane is directly related to it's prefWrapLength property. The idea is that it's preferred
size is fixed and it wraps its content.
The minWidth of FlowPane should probably be related to the widest node, so we do have a bug because I think
right now FlowPane returns it's pref width for it's min.
> • Pref width for FlowPane should be based on its content pref size.
No. prefWidth of FlowPane is directly related to it's prefWrapLength property. The idea is that it's preferred
size is fixed and it wraps its content.
The minWidth of FlowPane should probably be related to the widest node, so we do have a bug because I think
right now FlowPane returns it's pref width for it's min.
- is blocked by
-
JDK-8128051 FlowPane & TilePane return incorrect minimum size
- Resolved
- relates to
-
JDK-8087642 Button minWidth have to be equal to prefWidth and include its label text
- Open