Dominik wuttke
09/25/2020, 2:48 PMclass MainScreenSelect : View("tool") {
override val root = vbox {
dialog("dialog") {
}
}
}
This does work and I can create my dialog, but I can't show a dialog from my controller with the vbox as parameter
fun showDialog(pane: VBox){
pane.apply {
dialog{
}
}
}
This does not work, I can't call the dialog there, but i can call any other components.
Where is my mistake? And how can I create a Dialog from outside my view?