Skip to content
ct

Class

MonthTableSettings

Generated GDScript class reference for CalendarTime.MonthTableSettings.

Status
Current
Version
v2.0
Updated
Generated from GDScript addon source

Source: addons/calendar_time/ui/display/month_table_settings.gd

Syntax

class MonthTableSettings extends Resource

Members

NameKindSummary
column_titlesPropertySettings for a MonthTable UI display How the event-day indicator is shown when a day has an event. ICON_OR_DOT prefers the event's own icon and falls back to an accent dot, DOT always uses the accent dot, ICON only uses the event's own icon, NONE shows no indicator (text color/tooltip still apply). Setup so that first day of your 'week' is the first item in the array. When the calendar's week is longer than this array, remaining columns fall back to "Day N" titles instead of erroring.
append_event_day_titlesPropertyWhether to show the event day titles in the text of the tree item or not
event_day_number_textPropertyWrapper for the event day number text. %d will be replaced with the day number. Default is the plain number; event days are distinguished by the indicator and accent color, not by bracket notation.
current_day_bg_colorPropertyBackground fill for the current day cell.
current_day_font_colorPropertyDay-number text color for the current day (must stay readable over [member current_day_bg_color]).
event_day_font_colorPropertyDay-number text color for event days (normal days use the theme color).
event_dot_iconPropertyIcon shown on event days that have no icon of their own (see [member event_indicator_mode]). Assign the bundled event_dot.svg or your own.
event_indicator_modePropertyHow event days are marked. See [enum EventIndicatorMode].
event_icon_max_sizePropertyMaximum width/height in pixels for event icons and the fallback dot.
show_today_markerPropertyWhether the current day cell gets an additional accent marker next to the day number, so the highlight is not the only signal.
today_marker_textPropertyMarker text appended after the current day's number when [member show_today_marker] is enabled. Keep it short; an empty string disables the marker text.
empty_cell_bg_colorPropertyBackground fill for cells outside the month's valid dates.
row_min_heightPropertyMinimum row height in pixels for each week row, so day numbers are not pressed against each other.