Hello, can anyone else confirm me that the RadCalendar has a bug on the height ?
(I'm using the CalendarViewMode.Week view mode)
Exemple : a Calendar inside a grid vs a calendar inside a stacklayout. With a row set to Auto, it should behave the same. But it seems that the Calendar is taking all the available height like if the row's height was a star instead of auto.
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ti:RadCalendar NativeControlLoaded="RadCalendar_NativeControlLoaded" Grid.Row="0" />
<v:MeetingsDayInfoView Grid.Row="1"/>
<ListView BackgroundColor="LightSkyBlue" Grid.Row="2" />
</Grid>
<StackLayout>
<ti:RadCalendar NativeControlLoaded="RadCalendar_NativeControlLoaded" />
<v:MeetingsDayInfoView />
<ListView BackgroundColor="LightSkyBlue" VerticalOptions="FillAndExpand" />
</StackLayout>
Finally, if I don't set the height of the calendar to HeightRequest="100", the calendar seems to keep the first height it had when loading the month CalendarViewMode.
When calling TrySetViewMode(CalendarViewMode.Week) from code behind, it should refresh the height IMHO.
I hate to set height and width on element which doesn't need. The height should be dynamic and depends on the label fontsize etc.
I've attached a picture of the 3 behaviors.
Any suggestion would be nice.
Thanks !