Closed ABausG closed 2 weeks ago
Hi @ABausG , have you tried to set dayMaxWidth
? There is an example of how you can custom the minimum width in example.
https://github.com/theideasaler/calendar_date_picker2/blob/main/example/lib/main.dart
Hey @sdzfg347 I briefly looked at that however I would like to avoid hardcoding a value in there as that has the potential to lead to even more problems e.g when users change their device font scaling.
I made a proposed fix in #209 that solves the issue by expanding the day instead of a non Flexible Day surrounded Spacer
components
Describe the bug When setting a custom Text Style for the Days the layout can overflow on smaller devices
To Reproduce Steps to reproduce the behavior:
Expected behavior The Layout doesn't overflow
Actual Behaviour The layout overflows
Screenshots![image](https://github.com/user-attachments/assets/4b891cdb-b656-4939-9193-253637d1253c)