maxEventRows property

int maxEventRows
final

The maximum number of rows with events to display one above the other.

If there are more events than this, DefaultEventBuilder.allDayOverflowOf will be called to display information about the overflowed events. This adds one more row.

If there's not enough space to display this many rows (plus one for the overflows), MultiDateEventHeader will automatically reduce the number of rows to fit the available height.

See also:

  • MultiDateTimetableStyle.maxHeaderFraction, which additionally constrains the header to only occupy up to that fraction of the available height, ensuring that the content still has space on short screens with many parallel header events.

Implementation

final int maxEventRows;