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
This release provides a convenient way to generate dialogs from case classes (scala 3). AutoDialog is used too quickly open auto generated dialog from case class.
After closing, the dialog will return edited version of the input case class:
importorg.scalafx.extras.auto_dialog.AutoDialogcaseclassFilterOptions(kernelSize: Int=7,
start: Double=3.14,
tag: String="alpha",
debugMode: Boolean=false)
valresult:Option[FilterOptions] =newAutoDialog(FilterOptions())
.showDialog(
"AutoDialog Demo",
"Fields are auto generated from `FilterOptions` object")
println(s"Result: $result")
The scalafx-extras-demos subproject has an example.
Enhancements:
[Scala 3] auto generate input dialogs from simple case classes [#18]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
ScalaFX-Extras Release v.0.7.0
This release provides a convenient way to generate dialogs from case classes (scala 3).
AutoDialog
is used too quickly open auto generated dialog from case class.After closing, the dialog will return edited version of the input case class:
The
scalafx-extras-demos
subproject has an example.Enhancements:
To post questions please use Project Discussions or ScalaFX Users Group
Full Changelog: v.0.6.0...v.0.7.0
This discussion was created from the release ScalaFX-Extras v.0.7.0.
Beta Was this translation helpful? Give feedback.
All reactions