unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.77k stars 704 forks source link

[CalendarView] Day items aren't correctly resized while changing the calendar Height or Width #6228

Open agneszitte opened 3 years ago

agneszitte commented 3 years ago

Current behavior

CalendarView day items aren't correctly resized while changing the calendar Height or Width

Expected behavior

CalendarView day items should correctly be resized while changing the calendar Height or Width like UWP

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

<CalendarView Width="600" />

Workaround

N/A

Environment

Nuget Package:

Nuget Package Version(s): 3.8.0-dev.439

Affected platform(s):

IDE:

agneszitte commented 3 years ago

@jeromelaban / @dr1rrb Issue still not fixed for the Height.

Tested with Uno.UI 3.9.0-dev.39

Sample code:

                            <StackPanel>
                                <CalendarView SelectionMode="Multiple"
                                              Height="512"
                                              Width="600" />
                                <CalendarView SelectionMode="Multiple"
                                              Width="600" />
                                <CalendarView SelectionMode="Multiple"
                                              Height="512" />
                            </StackPanel>

WASM results (but issues also for other platforms listed in this bug): image image image

UWP results: image image image