Don't count not-visible children among expand children
When counting how many children we should divide extra space among, don't count not-visible children. http://bugzilla.moblin.org/show_bug.cgi?id=6310
This commit is contained in:
parent
faeda5dc8b
commit
d2b98701be
@ -623,6 +623,10 @@ nbtk_box_layout_allocate (ClutterActor *actor,
|
||||
for (l = priv->children; l; l = l->next)
|
||||
{
|
||||
gboolean expand;
|
||||
|
||||
if (!CLUTTER_ACTOR_IS_VISIBLE (l->data))
|
||||
continue;
|
||||
|
||||
clutter_container_child_get ((ClutterContainer *) actor,
|
||||
(ClutterActor*) l->data,
|
||||
"expand", &expand,
|
||||
|
Loading…
Reference in New Issue
Block a user