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

Size of IFLabel not set at initialisation #12

Open
aroyarexs opened this issue Nov 7, 2016 · 0 comments
Open

Size of IFLabel not set at initialisation #12

aroyarexs opened this issue Nov 7, 2016 · 0 comments

Comments

@aroyarexs
Copy link

Expected:
IFLabel has a width and height after initialisation.

Current:
IFLabel does not set width/height on initialisation.
But IFButton, IFRadioButton, ... set size during initialisation.

Suggestion:
Either put code into class IFLabel or add initial width and height values to constructor of GUIComponent.
In my opinion, the last should be the preferred solution because then this error can not occur anymore in any subclass.

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