-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Investigate: Default WrapPanel behavior Changed? #3574
Comments
Hello michael-hawker, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
@michael-hawker This seems like a stackoverflow issue. I'm guessing the content they are using has a VerticalAlignment of center |
@skendrot could be, it was resolved for them in chat, but I just wanted to double-check and validate that we're not accidently changing the default behavior between v6 and v7. Figured it'd be a good testing intro for someone to pick-up if they're looking for something simpler to get their feet wet with the Toolkit. |
The default value for the |
@vgromfeld so it's great we have more flexibility here, but also want to make sure we can preserve the ability of the old scenario as well. Looks like by default now the container around the item fills up the entire space (which is a bit odd here): Compared to the 6.1 behavior where the reveal/container surrounded the item: We basically want the ability for the container to still be able to be centered within the defined bounds? Also to the original question posed by the developer who found the issue. It appears we center with the This seems counter-intuitive that they would behave differently here? (I also noticed the style here is duplicated above here, we should only have a single copy.) |
It is not something that we're doing inside the The change done in the |
Alright, I've validated that the boxing behavior with the item border is the same as WPF: So, I think we should be fine here to leave as is and just make a note about the behavior change. I'm still not sure how we'd get mimic the old behavior with the new code, but I'm not sure it's possible in WPF either. Sound good @vgromfeld? |
Yes, sounds good 👍 |
Originally Reported by
Spyromaniac
on the UWP Community Discord ServerOriginally posted by @michael-hawker in #3471 (comment)
#3471 may have changed the default behavior for WrapPanel? We had a user expecting to see Sample App behavior (6.1.x):
But saw their items centered in the rows instead (vs. top aligned) w/
8.0.0-preview3
(based off our 7.0.0 code):We should investigate if this default behavior has changed, and if anything document the behavior update. This should only effect scenarios of different sized items and is resolved by setting the
VerticalContentAlignment
property.FYI @vgromfeld
The text was updated successfully, but these errors were encountered: