Commit 1fa28093 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

Fixed GtkCellAreaBox to not allocate invisible cells.

This was already done for the most part but not taken care
of for single cell groups (which is the most common case).
parent 34a7dbae
......@@ -866,6 +866,9 @@ get_allocated_cells (GtkCellAreaBox *box,
AllocatedCell *cell;
gint cell_position, cell_size;
if (!gtk_cell_renderer_get_visible (info->renderer))
/* If were not aligned, place the cell after the last cell */
if (info->align)
position = cell_position = group_allocs[i].position;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment