forked from AuroraMiddleware/gtk
Revert "Temporary fix to make separator rows request enough space for the expander size."
This reverts commit 515af9ce70
.
This commit is contained in:
parent
515af9ce70
commit
1b33698384
@ -6148,6 +6148,7 @@ validate_row (GtkTreeView *tree_view,
|
|||||||
{
|
{
|
||||||
row_height += vertical_separator;
|
row_height += vertical_separator;
|
||||||
height = MAX (height, row_height);
|
height = MAX (height, row_height);
|
||||||
|
height = MAX (height, tree_view->priv->expander_size);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -6157,10 +6158,6 @@ validate_row (GtkTreeView *tree_view,
|
|||||||
height = 2 + 2 * focus_pad;
|
height = 2 + 2 * focus_pad;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXX Expander size is also used to draw the separator rows,
|
|
||||||
* maybe that should not be the case ? */
|
|
||||||
height = MAX (height, tree_view->priv->expander_size);
|
|
||||||
|
|
||||||
if (gtk_tree_view_is_expander_column (tree_view, column))
|
if (gtk_tree_view_is_expander_column (tree_view, column))
|
||||||
{
|
{
|
||||||
padding += horizontal_separator + (depth - 1) * tree_view->priv->level_indentation;
|
padding += horizontal_separator + (depth - 1) * tree_view->priv->level_indentation;
|
||||||
|
Loading…
Reference in New Issue
Block a user