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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.
val selectedOrientationProperty =SimpleObjectProperty<Orientation>()
togglegroup {
radiobutton("Vertical", value =Orientation.VERTICAL)
radiobutton("Horizontal", value =Orientaion.HORIZONTAL)
}
There's no simple way to bind the selectedOrientationProperty to the selection of the togglegroup. I think something like this should exist:
val selectedOrientationProperty =SimpleObjectProperty<Orientation>()
togglegroup(selectedOrientationProperty) {
radiobutton("Vertical", value =Orientation.VERTICAL)
radiobutton("Horizontal", value =Orientaion.HORIZONTAL)
}
Which would be a shorthand for something like:
val selectedOrientationProperty =SimpleObjectProperty<Orientation>()
togglegroup {
selectedOrientationProperty.bind(selectedValueProperty())
radiobutton("Vertical", value =Orientation.VERTICAL)
radiobutton("Horizontal", value =Orientaion.HORIZONTAL)
}
If this issue is confirmed, I could try and make it happen.
The text was updated successfully, but these errors were encountered:
Considering this scenario:
There's no simple way to bind the
selectedOrientationProperty
to the selection of thetogglegroup
. I think something like this should exist:Which would be a shorthand for something like:
If this issue is confirmed, I could try and make it happen.
The text was updated successfully, but these errors were encountered: