Overview
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:
the code:
import org.jfxtras.scene.*;
import org.jfxtras.scene.layout.*;
import javafx.ext.swing.*;
ResizableScene {
width: 200
height: 200
content: Grid {
rows: Row {
cells: SwingList {
items: SwingListItem {text: "Sample Item"}
}
}
}
}produces:

Profile: common
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | nodeHPos | HPos | ![]() | ![]() | ![]() | HPos.CENTER |
The horizontal position of each node within the ResizableScene.
The horizontal position of each node within the ResizableScene. This may be overridden for individual nodes by setting the hpos variable on the node's layoutInfo variable. HPos.CENTER |
| public | nodeVPos | VPos | ![]() | ![]() | ![]() | VPos.CENTER |
The vertical position of each node within the ResizableScene.
The vertical position of each node within the ResizableScene. This may be overridden for individual nodes by setting the vpos variable on the node's layoutInfo variable. VPos.CENTER |

