I'm really surprised there is no parameter or meth...
# tornadofx
h
I'm really surprised there is no parameter or method to set the stage title in
App
, 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...
Copy code
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)
)
b
I also had a problem with setting like a logo. I searched for an entire week. But come to think of it. Did this work? Especially the icon
h
if you're wondering if i got the program icon to work, yeah.
Copy code
class Start : App(MainView::class) {
    init {
        addStageIcon(Image(resources["/image/icon/window/Logo"]))
    }
}