bright-gpu-74537
10/17/2020, 9:03 PMbright-gpu-74537
10/17/2020, 9:04 PMable-action-74275
10/17/2020, 9:05 PMbright-gpu-74537
10/17/2020, 9:06 PMable-action-74275
10/17/2020, 9:06 PMbright-gpu-74537
10/17/2020, 9:07 PMbright-gpu-74537
10/17/2020, 9:08 PMhundreds-dentist-88554
10/19/2020, 3:45 PMheaderbar.xml that contains my app's header. i then have an app.hxml that imports it, and looks like this:
xml
<box width="100%" height="100%">
<headerbar></headerbar>
<hbox id="main" style="border: 1px solid #ababab;padding:5px;" width="100%" height="100%">
</hbox>
</box>
i also have a module.xml that points to the location where both the app.xml and headerbar.xml live, and that looks like this:
xml
<module>
<components>
<component folder="./res/editor"/>
</components>
</module>
but when i try to build the App component app.xml in my code like:
haxe
var app = Toolkit.componentFromString(Res.editor.app.entry.getText());
i get this error:
/Users/austin/haxelib/haxeui-core/1,1,2/haxe/ui/Toolkit.hx:71: characters 9-38 : Warning : no class found for component: headerbar
/Users/austin/haxelib/haxeui-core/1,1,2/haxe/ui/macros/ComponentMacros.hx:169: characters 70-83 : Unknown identifier : c0
/Users/austin/haxelib/haxeui-core/1,1,2/haxe/ui/macros/ComponentMacros.hx:169: characters 70-83 : For function argument 'child'
/Users/austin/haxelib/haxeui-core/1,1,2/haxe/ui/macros/ModuleMacros.hx:374: lines 374-383 : Defined in this class
any ideas on what im doing wrong here? im using the Heaps backend if that makes any difference 🙂brave-kangaroo-30399
10/19/2020, 5:28 PMbrave-kangaroo-30399
10/19/2020, 5:28 PMhundreds-dentist-88554
10/19/2020, 5:28 PMbrave-kangaroo-30399
10/19/2020, 5:28 PMbrave-kangaroo-30399
10/19/2020, 5:29 PMhundreds-dentist-88554
10/19/2020, 5:36 PMhundreds-dentist-88554
10/19/2020, 5:36 PMxml
<module>
<components>
<component file="./res/editor/app.xml"/>
<component file="./res/editor/headerbar.xml"/>
</components>
</module>hundreds-dentist-88554
10/19/2020, 5:36 PMbright-gpu-74537
10/19/2020, 10:54 PMbright-gpu-74537
10/19/2020, 10:55 PMbright-gpu-74537
10/19/2020, 10:55 PMbright-gpu-74537
10/19/2020, 10:56 PMbright-gpu-74537
10/20/2020, 7:54 AMbrave-kangaroo-30399
10/20/2020, 12:28 PMbrave-kangaroo-30399
10/20/2020, 12:28 PMuser
10/21/2020, 7:32 PMuser
10/21/2020, 7:33 PMable-action-74275
10/21/2020, 7:52 PMuser
10/21/2020, 7:55 PMhandsome-processor-40961
10/22/2020, 11:21 AMhandsome-processor-40961
10/22/2020, 11:22 AMhandsome-processor-40961
10/22/2020, 11:22 AMheight in percentages but that sends it offscreen upwards