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

Ensure HeaderedTextBox Visual State Orientation is set to Initial Orientation #1386

Merged

Conversation

michael-hawker
Copy link
Member

Noticed that in the sample app if you changed the HeaderedTextBox to Horizontal and then switched back to the same page it wouldn't re-initialize the margin from the Visual State when the control was retemplated:

image

This fix calls the Visual State Manager update function to adjust to the current orientation on templating.

@dnfclas
Copy link

dnfclas commented Aug 16, 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@dnfclas
Copy link

dnfclas commented Aug 16, 2017

@michael-hawker, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, .NET Foundation Pull Request Bot

@IbraheemOsama IbraheemOsama merged commit 8696967 into CommunityToolkit:dev Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants