Layout
Tom Eugelink
tbee at tbee.org
Thu Oct 4 06:44:26 PDT 2012
I need to research this, but my initial reaction is something along the lines of "YIKES!!!". And "that is not how this should be working?".
But I was already planning on creating my own "AbsolutePane" which would have a nice setXYWH method. How it is implemented internally is less relevant.
Thanks for the suggestion!
Tom
On 2012-10-04 15:35, Randahl Fink Isaksen wrote:
> But it would! Only, instead of writing a lot of setLayoutX calls you write a lot of BorderPane.setMargin and BorderPane.setAlignment, etc.
>
> The beauty of this is your layout becomes independent of font sizes (which may be OS specific).
>
> R.
>
More information about the openjfx-dev
mailing list