Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
😀
Дмитрий
ryabos
😀
1
follower
·
1
following
Saint-Petersburg, Russia
View GitHub Profile
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
All gists
1
Starred
4
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
1 file
0 forks
0 comments
0 stars
ryabos
/
SegmentedButton fix
Created
Mar 13, 2019
Ugly bugfix for ControlsFX SegmentedButton bug
View
SegmentedButton fix
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
Show hidden characters
segmentedButton.getToggleGroup().selectedToggleProperty().addListener((observable, oldValue, newValue) -> {
if (newValue == null) {
segmentedButton.getToggleGroup().selectToggle(oldValue);
}
});
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.