forked from AuroraMiddleware/gtk
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).
This commit is contained in:
parent
34a7dbae3b
commit
1fa280938b
@ -866,6 +866,9 @@ get_allocated_cells (GtkCellAreaBox *box,
|
||||
AllocatedCell *cell;
|
||||
gint cell_position, cell_size;
|
||||
|
||||
if (!gtk_cell_renderer_get_visible (info->renderer))
|
||||
continue;
|
||||
|
||||
/* If were not aligned, place the cell after the last cell */
|
||||
if (info->align)
|
||||
position = cell_position = group_allocs[i].position;
|
||||
|
Loading…
Reference in New Issue
Block a user