Layout issues

Scott Palmer swpalmer at gmail.com
Wed Oct 10 06:42:30 PDT 2012


Hi,

I have a custom container extending Pane that implements layoutChildren.  I've noticed that this method is called continuously even though my scene is static.  It's like something is always in the list of "dirty" nodes and is forcing a re-layout.   I don't understand this.  I've googled but I can't find a decent tutorial for implementing custom containers or custom layouts.

Part of the problem with my application is that nodes are not properly shrining when I remove content from within them,  they shrink a little, but not as much as they should.  I'm still debugging, but wonder if there is any insight into how the layout system works that I've missed somewhere?

Thanks,

Scott


More information about the openjfx-dev mailing list