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

TextSegmentedControl fix #66

Merged
merged 2 commits into from
Nov 9, 2022
Merged

Conversation

Royston1999
Copy link
Contributor

It seems not looking for a specific parent fixes the problem. looking for an instance with a different name can cause all sorts of whack to happen with the size/scale of the textsegmentedcontrol

@darknight1050
Copy link
Owner

Any specific reason why you don't just return the comparison with ==?

@darknight1050
Copy link
Owner

like return x->get_name() == "TextSegmentedControl";

@Royston1999
Copy link
Contributor Author

Oh god I didn't even realise that. I'll quickly make the change

@darknight1050 darknight1050 merged commit c76cd0d into darknight1050:master Nov 9, 2022
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.

2 participants