java - JavaFX - Exclude Text Node from preferred width sizing? -


in converting swing fx have number of screens have bunch of fields along long text description letting user know routine does.

we not know width of screen before laid out, makes difficult call setwrappingwidth on text node. without calling setwrappingwidth, seems text node determines size of scene (assuming long description , wouldn't wrap without setwrappingwidth being called).

currently have scene inside jfxpanel inside jinternalframe. typically call pack() method once setscene called on jfxpanel have screen size itself.

i hoping exclude text node scene's width calculations , set wrapping width once scene sized. suggestions how handle this? thanks


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -