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 https://bugzilla.gnome.org/show_bug.cgi?id=595995
This commit is contained in:
parent
f313d38458
commit
040ddf077c
@ -638,6 +638,10 @@ st_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