edvin/tornadofx-guide

some typo in 3. Components

Closed this issue · 2 comments

last char must be '*'

import tornadofx."

class MyView: View() {
    override val root = vbox {
    }
}

no " after Waiting

import tornadox.*

class MyView: View() {
    override val root = vbox {
        button("Press me")
        label("Waiting)
    }
}
edvin commented

Thanks, corrected!

fix second too, pls :)

label("Waiting)

need " before )