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

Fixes #362 DockingManager with a Viewbox ancestor does not properly render auto-hidden LayoutAnchorables #363

Merged
merged 1 commit into from
Jul 16, 2022

Conversation

timothylcooke
Copy link

@timothylcooke timothylcooke commented Jun 9, 2022

In this PR, we add logic to detect when the DockingManager is a descendent of one more Viewbox controls. We then adjust the LayoutTransform of the LayoutAutoHideWindowControl and its child as necessary to make the child have the correct zoom and behave as if the window were a descendent of the DockingManager. Additionally, we make a small fix to dragging the window to resize it.

We update the LayoutTransform when the LayoutAutoHideWindowControl is shown and when any of its descendents' Viewboxes or their direct children's size changes.

…properly render auto-hidden LayoutAnchorables
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