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

Expander reserves internal needed space before expanding #3812

Closed
seba30 opened this issue May 26, 2020 · 1 comment · Fixed by #3816
Closed

Expander reserves internal needed space before expanding #3812

seba30 opened this issue May 26, 2020 · 1 comment · Fixed by #3816
Labels
Milestone

Comments

@seba30
Copy link

seba30 commented May 26, 2020

Hey folks,

I've created a small project to see, whether my observations are coming from my project or MahApps. And sadly it comes from MahApps.

An Expander, nested in a Grid, reserves the space for the internal elements, before it will be expanded. After collapsing the Expander behaves like expected.

MahApps.Metro v2.0.0
image
image
image

So I changed the version to the previous stable v1.6.5:

MahApps.Metro v1.6.5
image
image
image

  • MahApps.Metro version v2.0.0 and v1.6.5
  • Win10 1909
  • Visual Studio 2019 16.6.0
  • .NET Framework 4.8

image

@punker76 punker76 added the Bug label May 26, 2020
yjagota added a commit to yjagota/MahApps.Metro that referenced this issue May 26, 2020
yjagota added a commit to yjagota/MahApps.Metro that referenced this issue May 26, 2020
@punker76 punker76 added this to the 2.x.x milestone May 26, 2020
punker76 added a commit that referenced this issue May 26, 2020
…nternal-needed-space-before-expanding

(GH-3812) Fix wrong space for Expander before expanded
@punker76
Copy link
Member

@seba30 Thx for reporting this issue. It's now fixed with #3816 and will be available with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants