Layouts with constraint classes

Tom Eugelink tbee at tbee.org
Fri Nov 30 02:20:08 PST 2012


On 2012-11-30 10:59, Daniel Zwolenski wrote:
> It just doesn't do it the exact way you suggest where you specify multiple possibilities directly in the child in case it ends up in a different parent - not an approach I agree with anyway (see my previous comments), but that's just my opinion. 

Just to make sure my suggestion is not misunderstood, it does not specify multiple possibilities in the child, but in the layout.

<HBox>
     <HBox.C for="arrow" vgrow="NEVER"  valignment="RIGHT"/>
</HBox>

<HBox>
     <Label  fx:id="arrow"  alignment="center" text="">
         <HBox.C vgrow="ALWAYS"  valignment="LEFT" maxWidth="Infinity"/>
     <Label>
</HBox>


More information about the openjfx-dev mailing list