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

Corrects button bar with button that has an icon #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shallowmallow
Copy link
Contributor

If you a had a button in a button bar, it would cause problem

<button-bar>
            <button text="Item 1" icon="haxeui-core/styles/default/haxeui_small.png" iconPosition="top" />
 </button-bar>

You would have

../src/gtk/anybutton.cpp(403): assert ""Assert failure"" failed in DoSetBitmapPosition(): invalid position

That's because the bitmapPosition would be set even the value is "enum(0)".

Now, the line seems quite useless, because it seems the basic buttons page in the component explorer work without.

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

Successfully merging this pull request may close these issues.

1 participant