Skip to content
Snippets Groups Projects
Commit ad9bae87 authored by Kaj Koivunen's avatar Kaj Koivunen :coffee:
Browse files

aloitusruudun luonnos

parent 6c48f511
No related branches found
No related tags found
No related merge requests found
package guru.kake.ronove
import tornadofx.*
import kotlin.system.exitProcess
class SplashScreen : View("Ronove") {
override val root = borderpane {
center = form {
fieldset {
hyperlink("Dummy 1")
progressbar(0.2)
}
fieldset {
hyperlink("Dummy 2")
progressbar(0.3)
}
fieldset {
hyperlink("Dummy 3")
progressbar(0.5)
}
fieldset {
hyperlink("Dummy 4")
progressbar(0.9)
}
fieldset {
hyperlink("Dummy 5")
progressbar(0.9)
}
fieldset {
button("New project")
button("Open...")
button("Exit") {
action { exitProcess(0) }
}
}
}
right = imageview("/ronove300.png")
visibleProperty().onChange {
currentWindow?.sizeToScene()
}
}
override fun onDock() {
modalStage?.width = 600.0
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment