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 alignment trait on "HStackedContainer" #780

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

rahulporuri
Copy link
Contributor

This PR fixes the alignment trait and _do_layout method on the HStackedContainer. This might have been a simple copy-paste mistake. This was discovered when working on enthought/chaco#674.

This PR simply renames the halign triat with valign and updates its usage in the _do_layout method. See related https://github.com/enthought/chaco/blob/a88b7b96a981dc96ad9f0d615c21d699f93851d1/chaco/plot_containers.py#L289-L324, which is possibly where the HStackedContainer class originated.

this might have been a simple copy-paste mistake.
discovered when working on enthought/chaco#674

	modified:   enable/stacked_container.py
Copy link
Contributor

@aaronayres35 aaronayres35 left a comment

Choose a reason for hiding this comment

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

LGTM

@rahulporuri rahulporuri merged commit f379589 into master Apr 19, 2021
@rahulporuri rahulporuri deleted the fix/layout-bugs-hstacked-container branch April 19, 2021 16:26
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