table_calendar
table_calendar copied to clipboard
iOS increased font size causes days of week to be clipped
Describe the bug Increased font size in iOS causes the days of weeks header to have the bottom parts cut off.
To reproduce Please include a short code sample that can be used to reproduce the problem.
Code sample for Calendar widget usage
final kToday = DateTime.now();
TableCalendar(
focusedDay: kToday,
firstDay: DateTime(kToday.year, kToday.month, 1),
lastDay: DateTime(kToday.year, kToday.month + 1, 1).add(const Duration(days: -1)),
)
Steps to reproduce the behavior:
- In iOS simulator (I used iPhone 14 Pro Max), Setting > Accessibility > Display & Text Size > Larger Text, increase text size
- Open app with Calendar widget
Expected behavior The header row with the days of the week should increase in height, not cut off the text.
Screenshots
Ah that's what was happening! I was wondering why my emulator was different from my phone! +1
This is also happening in our Android apps, when increasing the font size via the Android settings. +1
+1
Duplicate of #713. Check out https://github.com/aleksanderwozniak/table_calendar/issues/713#issuecomment-1180699391 for a workaround