edvin
12/06/2017, 9:10 AMedvin
12/06/2017, 9:11 AMcamdenorrb
12/06/2017, 1:31 PMScreen Shot 2017-12-06 at 7.30.28 AM.png▾
camdenorrb
12/06/2017, 1:32 PMjschneider
12/06/2017, 3:51 PMjschneider
12/06/2017, 3:52 PMcamdenorrb
12/06/2017, 3:55 PMjschneider
12/06/2017, 6:45 PMcamdenorrb
12/06/2017, 6:46 PMcamdenorrb
12/06/2017, 6:47 PMamanda.hinchman-dominguez
12/06/2017, 7:31 PMedvin
12/06/2017, 7:40 PMjschneider
12/06/2017, 10:30 PMPlatform.runLater{
find<LoginView>().openModal()
}
jschneider
12/06/2017, 10:31 PMpike
12/06/2017, 10:50 PMamanda.hinchman-dominguez
12/07/2017, 12:57 AMamanda.hinchman-dominguez
12/07/2017, 12:58 AMamanda.hinchman-dominguez
12/07/2017, 1:50 AMamanda.hinchman-dominguez
12/07/2017, 2:08 AMamanda.hinchman-dominguez
12/07/2017, 2:23 AMamanda.hinchman-dominguez
12/07/2017, 2:24 AMcamdenorrb
12/07/2017, 5:51 AManidotnet
12/07/2017, 7:15 AManidotnet
12/07/2017, 7:15 AManidotnet
12/07/2017, 7:16 AMabhinay
12/07/2017, 7:34 AMclass ToolBar : HBox() {
init {
val rect = rectangle {
fill = Color.RED
reloadStylesheetsOnFocus()
}
prefWidth = 100.0
prefHeight = 100.0
rect.widthProperty().bind(widthProperty())
rect.heightProperty().bind(heightProperty())
}
}
I am not sure if there is a better TornadoFX way :')edvin
12/07/2017, 9:17 AMLoader
view as the app main view. This loader view basically does nothing, but checks if it should show a LoginForm using replaceWith
or if it should open a new window with the actual Workspace if the user is already logged in. I'm showing a progress indicator in the Loader while I check that stored credentials gives access if any, or simply show the login screen at once if credentials aren't stored. The login function will close the login window and open a new window for the workspace view.jschneider
12/07/2017, 9:17 AM