flixel-ui
flixel-ui copied to clipboard
radio_group doesn't apply font to last radio
The xml below produces the attached screenshot. The problem is that the font from the definition is not applied to the last radio in the group. If I change the number of radios it is always the last one that doesn't get the font. Most likely some off-by-one error. Notice that the color which is also defined in the definition does work for all radios.
<?xml version="1.0" encoding="utf-8" ?>
<data>
<definition name="def1">
<text color="red" font="verdana"/>
</definition>
<radio_group name="radio1" x="10" y="10" use_def="def1">
<radio name="one" label="one" />
<radio name="two" label="two" />
<radio name="three" label="three" />
</radio_group>
</data>