ME-MarvinE / XCalendar

A plugin for .NET providing an API for representing a calendar along with fully customisable calendar controls for Xamarin Forms and .NET MAUI
MIT License
300 stars 36 forks source link

Change DayView WidthRequest and HeightRequest defaults and how they are set #139

Closed ME-MarvinE closed 1 year ago

ME-MarvinE commented 1 year ago

WidthRequest and HeightRequest used to be set in the custom control itself. As a result, styles that set the WidthRequest or HeightRequest of the DayView would be overriden by these default values. Now they are set using the styles defined in the "DefaultStyles" class.

The WidthRequest default was changed from "45" to "-1". "-1" means all available horizontal space will be filled.