Created
September 16, 2014 18:08
-
-
Save guigarage/d5b5127d368916e8978e to your computer and use it in GitHub Desktop.
responsive design JavaFX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Toolbar extraSmallToolbar = new Toolbar(...); | |
extraSmallToolbar.getStyleClass().add("visible-xs"); | |
Toolbar smallToolbar = new Toolbar(...); | |
smallToolbar.getStyleClass().add("visible-sm"); | |
Toolbar mediumToolbar = new Toolbar(...); | |
mediumToolbar.getStyleClass().add("visible-md"); | |
Toolbar largeToolbar = new Toolbar(...); | |
largeToolbar.getStyleClass().add("visible-lg"); | |
pane.getChildren().add(extraSmallToolbar, smallToolbar, mediumToolbar, largeToolbar); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment