remove no-longer-necessary size hinting in list widgets

devs/bu5hm4n/econfigure2
Mike Blumenkrantz 8 years ago
parent 8fe2f00f75
commit 21479f5019
  1. 3
      src/bin/e_widget_framelist.c
  2. 6
      src/bin/e_widget_list.c

@ -69,15 +69,12 @@ EAPI void
e_widget_framelist_object_append(Evas_Object *obj, Evas_Object *sobj)
{
E_Widget_Data *wd;
Evas_Coord mw = 0, mh = 0;
wd = e_widget_data_get(obj);
elm_box_pack_end(wd->o_box, sobj);
e_widget_size_min_get(sobj, &mw, &mh);
E_EXPAND(sobj);
E_FILL(sobj);
evas_object_size_hint_min_set(sobj, mw, mh);
elm_box_recalculate(wd->o_box);
e_widget_sub_object_add(obj, sobj);
evas_object_show(sobj);

@ -61,8 +61,6 @@ e_widget_list_object_prepend(Evas_Object *obj, Evas_Object *sobj, int fill, int
wd = e_widget_data_get(obj);
mw = mh = 0;
e_widget_size_min_get(sobj, &mw, &mh);
evas_object_size_hint_min_set(sobj, mw, mh);
if (fill) align = -1;
if (elm_box_horizontal_get(wd->o_box) == 1)
{
@ -101,8 +99,6 @@ e_widget_list_object_append(Evas_Object *obj, Evas_Object *sobj, int fill, int e
wd = e_widget_data_get(obj);
mw = mh = 0;
e_widget_size_min_get(sobj, &mw, &mh);
evas_object_size_hint_min_set(sobj, mw, mh);
if (fill) align = -1;
if (elm_box_horizontal_get(wd->o_box) == 1)
{
@ -131,8 +127,6 @@ e_widget_list_object_repack(Evas_Object *obj, Evas_Object *sobj, int fill, int e
wd = e_widget_data_get(obj);
mw = mh = 0;
e_widget_size_min_get(sobj, &mw, &mh);
evas_object_size_hint_min_set(sobj, mw, mh);
if (fill) align = -1;
if (elm_box_horizontal_get(wd->o_box) == 1)
{

Loading…
Cancel
Save