Open Source JavaFX Now!

JFXtras Core Logo

XScene

Drop-in replacement for a JavaFX Scene that will automatically resize any of its children that extend Resizable to fill the Scene bounds. This is particularly useful when used together with a resizable layout that should fill the scene bounds, such as the following example:

Sample Code


XScene { width: 200 height: 200 content: XGrid { rows: Row { cells: SwingList { items: SwingListItem {text: "Resize Me!"} } } } }

Which displays the following:

1 Attachments 1 Attachments
280 Views