-
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
AdaptiveGridView HorizontalAlignment not working after version 2.0.0 #1737
Comments
I am having the exact same issue, and wanted to set it to center, because it was leaving a lot of space on the right, which it shouldnt, considering it should adapt and fill the space on the right |
ping @skendrot I can verify this is a bug |
@nmetulev I also opened an issue on same problem, I think one of these should be closed for ease? you guyx can decide on which one to track :) |
@nmetulev Any reason this was changed? That's what is causing the crash. |
@touseefbsb Your issue with using ItemContainerStyle is different than this issue |
@skendrot Oh ok thanks for claifying |
@Martijn85 Why would you want to set HorizontalAlignment to Center? that defeats the purpose of using the AdaptiveGridView because now the elements maintain the size. I would recommend using a regular GridView in this case Note: Not saying this issue shouldn't be fixed |
@skendrot You are correct of course. The default GridView does work as a solution now. Some of the design choices changed over time and instead of replacing adaptive grid control I just added the horizontal alignment everywhere. It is not a big issue, just noticed that after version 2.0.0 the program was suddenly crashing when opening a view with this code in it. |
This issue seems inactive. Do you need help to complete this issue? |
Issue is solved by replacing AdaptiveGridView with the default GridView. |
@Martijn85 I think it will be solved in AdaptiveGridView as well as the team is working on it so I guess u should keep the issue opened :) |
Yes, there is a work around, but the control shouldn't crash the application. We'll get it fixed. |
… for AdaptiveGridView.
I'm submitting a...
UserVoice link
Current behavior
After updating from Microsoft.Toolkit.Uwp.UI.Controls 2.0.0 to 2.1.0 or 2.1.1 the HorizontalAlignment="Center" property on the AdaptiveGridView causes the application to crash.
Error "Layout Cycle Detected"
Expected behavior
Expected behaviour is that the adaptive grid view centers horizontally as in previous versions.
Minimal reproduction of the problem with instructions
Environment
The text was updated successfully, but these errors were encountered: