uno icon indicating copy to clipboard operation
uno copied to clipboard

`ItemsStackPanel` does not stretch its children properly

Open dr1rrb opened this issue 6 years ago • 2 comments

Current behavior

In WCT on WASM, the navigation items are top aligned: image

Expected behavior

They are centered as UWP, iOS and Android:

image

How to reproduce it (as minimally and precisely as possible)

Undo the commit https://github.com/unoplatform/Uno.WindowsCommunityToolkit/commit/84db026ae6f545a786abdc528ba3e87cc583527c

Environment

Nuget Package: Uno.UI Package Version(s): 2.0 Affected platform(s):

  • [ ] iOS
  • [ ] Android
  • [x] WebAssembly
  • [ ] WebAssembly renderers for Xamarin.Forms
  • [ ] Windows
  • [ ] Build tasks
  • [ ] Solution Templates

Visual Studio: irrelevant Relevant plugins: none

Workaround

If your list is small, you can replace the ItemsStackPanel by a StackPanel (which disable the UI virtualization).

dr1rrb avatar Nov 21 '19 15:11 dr1rrb

This could be already fixed as layouting on Wasm has changed a lot with time (the issue is dating 5 years back)

Youssef1313 avatar Oct 06 '24 07:10 Youssef1313

@MartinZikmund, @Youssef1313 I wasn't able to test this out yet as MUX seems to require me to signin, but I don't have a valid account to do so: image

morning4coffe-dev avatar Oct 13 '24 07:10 morning4coffe-dev