amanda.hinchman-dominguez
09/28/2018, 2:59 PMcarlw
09/28/2018, 3:15 PMamanda.hinchman-dominguez
09/28/2018, 3:24 PMValV
09/28/2018, 3:39 PMcarlw
09/28/2018, 3:40 PMcarlw
09/28/2018, 3:40 PMValV
09/28/2018, 3:59 PMmikehearn
09/28/2018, 4:01 PMmikehearn
09/28/2018, 4:02 PMcarlw
09/28/2018, 4:12 PMNico Smeenk
09/28/2018, 5:25 PMNico Smeenk
09/28/2018, 5:32 PMimport tornadofx.*
class Test : App(TestView::class)
class TestView : View() {
override val root = pane {
tabpane {
tab(TestWizard::class)
}
}
}
class TestWizard : Wizard() {
init {
add(TestWizard1::class)
}
}
class TestWizard1 : View("Test") {
override val root = pane {}
}
My goal ist to close the tab on complete and not the full App.edvin
09/28/2018, 5:46 PMWizard
subclass, override onSave
, which is called when the Wizard completes. From there, call owningTab?.close()
. This will prevent the normal close()
call (or at least it's effect, since the Tab will be disconnected by the time the Wizard calls close()).edvin
09/28/2018, 5:47 PMclose()
so it will close the tab instead of the Window if it can find an owning tab 🙂Nico Smeenk
09/28/2018, 5:52 PMNico Smeenk
09/28/2018, 5:53 PMedvin
09/28/2018, 5:53 PMNico Smeenk
09/28/2018, 6:36 PMonCancel
?Nico Smeenk
09/28/2018, 6:37 PMclose()
instantlythomasnield
09/29/2018, 5:26 AMamanda.hinchman-dominguez
09/29/2018, 1:19 PMHamza
09/29/2018, 1:19 PMHamza
09/29/2018, 1:19 PMBoyong
09/30/2018, 2:24 PMBoyong
09/30/2018, 2:24 PMValV
09/30/2018, 4:34 PMfield
in a form
? I'm using form { fieldset { flowpane { field { combobox { ... } } } } }
, and setting field { minWidth = 200.px; maxWidth = 200.px }
in corresponding stylesheet. It seems that a fieldset
has maximum width of 200
, but fields overlap in less than 200
. I want all fields to be of fixed width with controls stretched insideedvin
09/30/2018, 8:31 PMValV
09/30/2018, 8:45 PMValV
09/30/2018, 8:49 PMValV
09/30/2018, 8:52 PM