JavaFX pane for scaling arbitrary content nodes (used in VWorkflows)
Java
Latest commit cdfb63c Oct 18, 2016 @miho committed on GitHub Update README.md

README.md

ScaledFX

Build Status Download

JavaFX pane for scaling arbitrary content nodes (used in Vworkflows) by applying scale transformations. The ScalableContentPane scales its content to always fit the container bounds.

Sample 1

Sample 2

Sample Code:

public class Main extends Application {
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        ScalableContentPane scp = new ScalableContentPane();
        scp.setContent(new Button("Scaled Button"));

        Scene scene = new Scene(scp);

        primaryStage.setScene(scene);
        primaryStage.setTitle("Scalable Content Pane Demo");
        primaryStage.show();
    }
}