Dynamic position/size change and built-in layouts
mo.chicharro at oracle.com
Thu Apr 3 14:38:55 UTC 2014
If your VBox is elastic - i.e, it's Pref Width/Height is set to USE_COMPUTED_SIZE then it will act exactly as you describe (unless limited by it's parent). You can prototype and test layout like this in Scene Builder very quickly.
On 3 Apr 2014, at 15:01, Pedro Duque Vieira <pedro.duquevieira at gmail.com> wrote:
> Are built-in layouts prepared for dynamic changes of their children
> position and/or size?
> That is, for instance, if in a VBox I change the first child height the
> other subsequent children would re-adjust their position.
> My experiments with VBox tell me that this will result in bugs, i.e. it
> won't work.
> I think this is important for RIAs.
> Thanks, best regards,
> Pedro Duque Vieira
More information about the openjfx-dev