flixel-ui icon indicating copy to clipboard operation
flixel-ui copied to clipboard

radio_group doesn't apply font to last radio

Open l0rb opened this issue 4 years ago • 0 comments

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.

radio_groups2

<?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>

l0rb avatar Apr 03 '20 18:04 l0rb