Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radio_group doesn't apply font to last radio #220

Open
l0rb opened this issue Apr 3, 2020 · 0 comments
Open

radio_group doesn't apply font to last radio #220

l0rb opened this issue Apr 3, 2020 · 0 comments

Comments

@l0rb
Copy link
Contributor

l0rb commented Apr 3, 2020

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant