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

ListView/ItemsRepeater layout broken #6989

Closed
1 of 2 tasks
minesworld opened this issue Apr 19, 2022 · 1 comment
Closed
1 of 2 tasks

ListView/ItemsRepeater layout broken #6989

minesworld opened this issue Apr 19, 2022 · 1 comment
Labels
area-Layouts bug Something isn't working no-issue-activity product-winui3 WinUI 3 issues team-Controls Issue for the Controls team

Comments

@minesworld
Copy link

Describe the bug

  • both ListView and ItemsRepeater will layout only correctly if the Items fit within their ScrollView(er)
  • ListView will NEVER correctly layout horizontally and attach Items on Top - its always centered

Steps to reproduce the bug

  1. load project from https://github.com/minesworld/WindowsAppSDK-LayoutBugs
  2. build
  3. try out the different DataTemplates
  4. change the number of Items shown so scrolling is possible
  5. try out the different DataTemplates and scroll

Expected behavior

  • layout is done ALWAYS in the correct way

Screenshots

LeftAllignedTextBoxWithHorizontalLinesText-Errors
StretchAllignedGridTextBoxWithHorizontalLinesText-Errors
TopAllignedTextBoxWithVerticalLinesText-Errors
StretchAllignedGridTextBlockWithVerticalLinesText-Errors

NuGet package version

WinUI 3 - Windows App SDK 1.0

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows 11 (21H2): Build 22000

Additional context

  • will file a proposal that the API documentation & the XAML Gallery App are updated to prevent other from wasting a lot of time...
  • a quick "how-to workaround" would be helpfull, like a code example how to layout the items instead on relying on the broking AppSDK layout which tries to be a jack-of-all-kinds but is a master only of the simplest ones... (pun intended)
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Apr 19, 2022
@ojhad ojhad added area-Layouts team-Controls Issue for the Controls team bug Something isn't working product-winui3 WinUI 3 issues and removed needs-triage Issue needs to be triaged by the area owners labels Apr 19, 2022
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Layouts bug Something isn't working no-issue-activity product-winui3 WinUI 3 issues team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants