Skip to content

Commit 330c860

Browse files
committed
Add release notes for 0.7.0
1 parent c9aa8c4 commit 330c860

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

notes/0.7.0.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
### ScalaFX-Extras Release v.0.7.0
2+
3+
This release provides a convenient way to generate dialogs from case classes (scala 3).
4+
`AutoDialog` is used too quickly open auto generated dialog from case class.
5+
After closing, the dialog will return edited version of the input case class:
6+
7+
```scala
8+
import org.scalafx.extras.auto_dialog.AutoDialog
9+
10+
case class FilterOptions(kernelSize: Int = 7,
11+
start: Double = 3.14,
12+
tag: String = "alpha",
13+
debugMode: Boolean = false)
14+
15+
val result: Option[FilterOptions] =
16+
new AutoDialog(FilterOptions())
17+
.showDialog(
18+
"AutoDialog Demo",
19+
"Fields are auto generated from `FilterOptions` object")
20+
21+
println(s"Result: $result")
22+
```
23+
24+
The `scalafx-extras-demos` subproject has an example.
25+
26+
Enhancements:
27+
28+
* \[Scala 3\] auto generate input dialogs from simple case classes [[#18]]
29+
* Update to ScalaFX 18.0.2-R29 [[#20]]
30+
31+
To post questions please use [Project Discussions][Discussions] or [ScalaFX Users Group][scalafx-users]
32+
33+
[Discussions]: https://github.com/scalafx/scalafx-extras/discussions
34+
35+
[scalafx-users]: https://groups.google.com/forum/#!forum/scalafx-users
36+
37+
[#18]: https://github.com/scalafx/scalafx-extras/issues/18
38+
39+
[#20]: https://github.com/scalafx/scalafx-extras/issues/20
40+

0 commit comments

Comments
 (0)