Hi,
I’m starting to use HaxeUI Openfl backend for my apps and I have a problem with the dropdown and listview component, they don’t show any data on the data field:
This is from a new “hello world” project and then adding the the xml from the component explorer:
<vbox style="padding: 5px;">
<button text="Click Me!" onclick="this.text='Thanks!'" style="font-size: 24px;" />
<dropdown text="Select Item">
<data>
<item value="Item 1" />
<item value="Item 2" />
<item value="Item 3" />
<item value="Item 4" />
<item value="Item 5" />
<item value="Item 6" />
<item value="Item 7" />
<item value="Item 8" />
<item value="Item 9" />
</data>
</dropdown>
<listview id="lv1" width="200" height="150" selectedIndex="0">
<data>
<item value="Item 1" />
<item value="Item 2" />
<item value="Item 3" />
<item value="Item 4" />
<item value="Item 5" />
<item value="Item 6" />
<item value="Item 7" />
<item value="Item 8" />
<item value="Item 9" />
</data>
</listview>
</vbox>
No more changes was made to the “hello world” project. My haxelib list:
actuate: [1.8.9]
advanced-layout: [0.9.1]
akifox-transform: [2.2.1]
box2d: [1.2.3]
format: [3.5.0]
haxeui-core: 1.1.2 [git]
haxeui-openfl: 1.1.0 [git]
hscript: [2.4.0]
hxcpp-debug-server: 1.2.4 [dev:c:\Users\devmain.vscode\extensions\vshaxe.hxcpp-debugger-1.2.4\hxcpp-debug-server]
hxcpp: 4.1.1 [4.1.15]
hxnodejs: [12.1.0]
layout: [1.2.1]
lime-samples: [7.0.0]
lime: 7.7.0 [7.8.0]
openfl-samples: [8.7.0]
openfl: 8.9.6 [8.9.7] 9.0.0
starling: 2.5.1 [git]
svg: [1.1.3]
swf: [3.0.0]
vscode-debugadapter: 1.40.0 [1.41.0]
vscode: 1.45.0 1.46.0 [1.47.0]
I’m using the git version, but the 1.1.0 shows the same thing.
Is anyone else having the same problem?
Another thing, and this one is for @ianharrigan (or both are probably), yesterday I filled a new bug issue for the openfl backend also, that when we add the SVG lib an error occurs and I can’t compile even the fresh “hello world” project. I don’t see that this and SVG issue are related, but we never know.
@ianharrigan, great job by the way, apart from this issue all seems to work fine and it’s a great library.