This content has been marked as final. Show 2 replies
Set a clip on the nodes or place them in a scroll pane or set a maximum size on them.
Why normally use a Group, most JavaFX apps would normally use Pane or Region subclasses for layout?
JavaFX 2.2 CSS doesn't really apply for layout currently.
If you post some executable code which produces an overflow situation, somebody could likely offer you a modified version which fits the node as desired.
Thanks, the setClip worked for me.
I created a rectangle to specify the boundary and used it to clip the Group.