StablexUI
StablexUI copied to clipboard
Options crashes app when I try to set value
Is there a limit on how many option boxes you can have on screen? As soon as I add a 7th box to my I get the error:
Uncaught exception - std@module_read
If I do not set a value to the box like
var status = UIBuilder.getAs('status',Options);
It works ok but if I do:
status.value="Closed";
I get the error.
The XML looks like this:
<Options
w = "100"
h = "30"
id = "'status'"
skinName = "'dropDown'"
skin:Paint-border = "1"
skin:Paint-borderColor = "0xcccccc"
options = "[['Open', 'Open'], ['Closed', 'Closed'], ['Pending', 'Pending']]"
optionDefaults = "'option'"
/>
After doing a little testing on other targets it appears this issue is only happening on the neko target. Unfortunately "Uncaught exception - std@module_read" is the only error I can get out of the debugger.
I got options working fine but there is still the Uncaught exception - std@module_read on neko targets when I use the StablexUI library. The issue is not present in C++ target.
Your example works fine for me. Can you post minimal complete project with reproducible issue?
Options works fine but have not been able to figure out what triggers the std@module_read read error. It is only happening on this project that is using StablexUI lib. I will try and narrow it down and see if I can provide an example.