import haxe.ui.Toolkit;
import haxe.ui.core.Screen;
import haxe.ui.core.Component;
import haxe.ui.macros.ComponentMacros;
class Main {
public static function main() {
Toolkit.init();
var ui:Component = ComponentMacros.buildComponent("Assets/Xml/UI.xml");
Screen.instance.addComponent(ui);
}
}
Expected Behavior
application with button
Current Behavior
exception:
Test app / minimal test case
UI.xml:
Main.hx
build.hxml:
Button.zip
Your Environment
Haxe 3.4.0 haxeui-core from git haxeui-html5 from git
Thanks.