nimakro
11/19/2017, 6:08 AMView
, but just keep in mind that the `Controller`in plane JavaFx has nothing to do with the `Controller`in TornadoFX. So the TornadoFX `View`is then the equivalent to the FXML-Controller in plane JavaFX. The Controller
class in TornadoFX is more of a general purpose class that can be used with the TornadoFX DI-Framework.nimakro
11/19/2017, 6:27 AMuser
11/19/2017, 12:36 PMedvin
11/19/2017, 2:02 PMfx:id
attribute and do val myButton: Button by fxid()
.edvin
11/19/2017, 2:03 PMstylesheet
builder to build a stylesheet directly inside the component. @nimakro's approach is better though.edvin
11/19/2017, 2:04 PMaddStylesheet
function?nimakro
11/19/2017, 2:11 PMreloadStylesheetsOnFocus()
still gone work if the stylesheets are not managed through tornadoFX.edvin
11/19/2017, 2:12 PMedvin
11/19/2017, 2:13 PMedvin
11/19/2017, 2:13 PMaddStylesheet
function, we'd just have to register them with the view.nimakro
11/19/2017, 2:14 PMedvin
11/19/2017, 2:14 PMamanda.hinchman-dominguez
11/19/2017, 3:08 PMamanda.hinchman-dominguez
11/19/2017, 3:09 PMedvin
11/19/2017, 3:20 PMedvin
11/19/2017, 3:20 PMamanda.hinchman-dominguez
11/19/2017, 3:21 PMedvin
11/19/2017, 3:22 PMedvin
11/19/2017, 3:22 PMamanda.hinchman-dominguez
11/19/2017, 3:23 PMamanda.hinchman-dominguez
11/19/2017, 3:23 PMamanda.hinchman-dominguez
11/19/2017, 3:27 PMamanda.hinchman-dominguez
11/19/2017, 3:37 PMamanda.hinchman-dominguez
11/19/2017, 3:40 PMamanda.hinchman-dominguez
11/19/2017, 3:41 PMamanda.hinchman-dominguez
11/19/2017, 3:52 PMamanda.hinchman-dominguez
11/19/2017, 3:52 PMamanda.hinchman-dominguez
11/19/2017, 3:56 PMamanda.hinchman-dominguez
11/19/2017, 4:00 PM