* Better size_hint calc for vertical and horiz layout, need to do the same for the other layouts

SVN revision: 38035
This commit is contained in:
Davide Andreoli 2008-12-09 00:02:48 +00:00
parent 28c433974a
commit d77abdd28b
1 changed files with 2 additions and 2 deletions

View File

@ -758,7 +758,7 @@ evas_object_box_layout_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, vo
sub_pixel -= 1 << 16;
}
}
evas_object_size_hint_min_set(o, x, top_h);
evas_object_size_hint_min_set(o, req_w, top_h);
}
static int
@ -920,7 +920,7 @@ evas_object_box_layout_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void
sub_pixel -= 1 << 16;
}
}
evas_object_size_hint_min_set(o, top_w, y);
evas_object_size_hint_min_set(o, top_w, req_h);
}
/**