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

fix how/when layout calcs are done in wx ImageButton #932

Merged
merged 1 commit into from
Apr 21, 2021

Conversation

aaronayres35
Copy link
Contributor

Previously we only did various layout calculations in the __init__ method. this ignored the possibility of say starting with image as None and then setting it later, leading to incorrect layout of things. See the full saga here:
https://github.com/enthought/traitsui/pull/1566/files#r616858523

Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aaronayres35 aaronayres35 merged commit 50419c4 into master Apr 21, 2021
@aaronayres35 aaronayres35 deleted the fix-wx-ImageButton branch April 21, 2021 11:58
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