TornadoFX 用 FXML 描述界面,<Drawer /> 报错


#1

如题。构造函数原型:
Drawer(side : Side, multiselect : Boolean, floatingContent : Boolean);

FXML 写 < Drawer / > 报错:
Caused by: java.lang.NoSuchMethodException: tornadofx.Drawer.()

请教:FXML 的正确 < Drawer / > 写法


京ICP备16022265号-2 Kotlin China 2017 - 2018