Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BorderPane, StackPane, GridPane, FlowPane, TilePane #1

Open
gavinking opened this issue Dec 2, 2013 · 2 comments
Open

BorderPane, StackPane, GridPane, FlowPane, TilePane #1

gavinking opened this issue Dec 2, 2013 · 2 comments
Milestone

Comments

@gavinking
Copy link
Collaborator

One of the next things we need, before we can start making use of form elements is layout panes.

@renatoathaydes
Copy link
Owner

In JavaFX, the most common ones are probably VBox and HBox. Pretty easy to add those.

@renatoathaydes
Copy link
Owner

It will be interesting to come up with a good solution to apply constraints to the panel's children... For example, we could have something like this:

JavaFX

VBox vbox = new VBox();
ListView list = new ListView();
VBox.setVgrow(list, Priority.ALWAYS);
vbox.getChildren().addAll(new Label("Names:"), list);

CeylonFX

VBox {
   Label("Names"),
   [ ListView(), [ vgrow -> always ] ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants