views/month-view: Set ceiled height of each row

Fixes: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/work_items/1290>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/772>
This commit is contained in:
Hari Rana
2026-05-28 06:27:37 -04:00
parent 7ebd9f2744
commit 4f9cba85fb
+1
View File
@@ -1678,6 +1678,7 @@ gcal_month_view_size_allocate (GtkWidget *widget,
row_allocation.y = round (ROW_Y (i));
row_allocation.width = width;
row_allocation.height = round (ROW_Y (i + 1)) - row_allocation.y;
gcal_month_view_row_set_ceiled_height (GCAL_MONTH_VIEW_ROW (row), row_height < row_allocation.height);
#undef ROW_Y