Hullaballoonatic
01/06/2020, 3:30 AMApp
, nor to provide multiple stage icons. Also why must we provide the entire Image
instead of the filepath and let the App
class handle the rest? Also no stage dimensions...
class Start : App(
title = "My App",
height = 300.0, width = 600.0,
primaryView = MainView::class,
icons = arrayOf("myIconS.png", "myIconM.png", "myIconL.png"),
stylesheets = arrayOf(MyStyleSheet1::class, MyStyleSheet2::class)
)
brian
05/06/2020, 11:01 AMHullaballoonatic
05/09/2020, 4:08 PMclass Start : App(MainView::class) {
init {
addStageIcon(Image(resources["/image/icon/window/Logo"]))
}
}