<@U0F3291QE> I noticed something with the `placeho...
# tornadofx
r
@edvin I noticed something with the
placeholder
functions we added a while back. They require the type of the container they are adding to for no reason, and it is a little ungainly. For example we have the function
inline fun <S, reified T : UIComponent> TableView<S>.placeholder(...) { ... }
. The
S
type doesn't matter, and requires you to specify the type of the
TableView
you're in as well as the type of
UIComponent
you want to inject. I would recommend replacing it with
inline fun <reified T : UIComponent> TableView<*>.placeholder(...) { ... }
.