BasicMonthPanelBehavior

constructor(background: Paint, defaultVisualizer: ItemVisualizer<LocalDate, MonthPanel> = itemVisualizer { day, previous, panel -> val text = "${day.dayOfMonth}" when (previous) { is Label -> previous.apply { fitText = emptySet(); this.text = text } else -> Label(text).apply { fitText = emptySet() } }.also { it.enabled = day.month == panel.startDate.month } })(source)