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

Enabling WrapLayout in ControlCatalog crashes the app #7

Open
MarchingCube opened this issue May 12, 2021 · 0 comments
Open

Enabling WrapLayout in ControlCatalog crashes the app #7

MarchingCube opened this issue May 12, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@MarchingCube
Copy link

Describe the bug
Code behind for ItemsRepeater page in the ControlCatalog supports switching to WrapLayout. Somehow we lost XAML part that was actually listing this layout. But if you enable it, it will crash anyway.

To Reproduce
Steps to reproduce the behavior:

  1. Apply this patch: enable-wrap-layout.txt
  2. Go to "ItemsRepeater" page
  3. Change layout to "Wrap - Vertical"
  4. Wait for a minute or two
  5. App crashes due to invalid layout

Expected behavior
No crashes due to WrapLayout asking to be given all the space in universe.

Screenshots

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: master
@MarchingCube MarchingCube added the bug Something isn't working label May 12, 2021
@maxkatz6 maxkatz6 transferred this issue from AvaloniaUI/Avalonia Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant