Skip to content

Instantly share code, notes, and snippets.

@guigarage
Created September 16, 2014 17:54
Show Gist options
  • Save guigarage/29ca2843a3f644ae8fcb to your computer and use it in GitHub Desktop.
Save guigarage/29ca2843a3f644ae8fcb to your computer and use it in GitHub Desktop.
using responsive design style classes in JavaFX
TableView table = new TableView(items);
table.getStyleClass().addAll("visible-lg", "visible-md");
ListView list = new ListView(items);
list.getStyleClass().addAll("visible-xs", "visible-sm");
pane.getChildren().addAll(table, list);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment