jchildress
02/28/2017, 7:35 PMcarlw
02/28/2017, 7:36 PMRuckus
02/28/2017, 7:37 PMcarlw
02/28/2017, 7:38 PMnimakro
02/28/2017, 7:39 PMDialog.class
with a custom dialog content. While reading through the tornadofx documentation I came across openInternalWindow
to use this I would have to implement the whole dialog by myself? I wanted to know how you guys are implementing dialogs? Are you using the dialog api from javafx, fragments or both? Which way should I prefer and why?jchildress
02/28/2017, 7:43 PMedvin
02/28/2017, 7:51 PMopenWindow
, openModal
or openInternalWindow
and create the content myself. It's not a lot of code, especially if you use the form builder. I find myself using the builderWindow
more and more actually. You get the title and close-button "for free" but add your own buttons. However, we could even cut down even more of the boiler plate by creating a dialog
builder based on a form
builder. That's actually a good idea, I'll investigate a little 🙂nimakro
02/28/2017, 7:56 PMdialog
builder would be great... let me know if I can be any help ...ron
02/28/2017, 7:56 PMron
02/28/2017, 7:58 PMedvin
02/28/2017, 7:58 PMformWindow
first, and then a dialog
based on that, with some default button actions etc 🙂nimakro
02/28/2017, 7:58 PMron
02/28/2017, 7:58 PMnimakro
02/28/2017, 7:58 PMron
02/28/2017, 7:59 PMedvin
02/28/2017, 8:00 PMRuckus
02/28/2017, 8:00 PMron
02/28/2017, 8:00 PMedvin
02/28/2017, 8:00 PMedvin
02/28/2017, 8:01 PMvbox
around the form?edvin
02/28/2017, 8:01 PMvbox
, the alignment
and the prefWidth
and it will still look good.ron
02/28/2017, 8:01 PMron
02/28/2017, 8:01 PMnimakro
02/28/2017, 8:02 PMron
02/28/2017, 8:02 PMedvin
02/28/2017, 8:02 PMron
02/28/2017, 8:02 PMnimakro
02/28/2017, 8:02 PMedvin
02/28/2017, 8:03 PMedvin
02/28/2017, 8:03 PMprefColumnCount = 40