diff options
author | Carsten Haitzler <raster@rasterman.com> | 2006-08-26 08:32:56 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2006-08-26 08:32:56 +0000 |
commit | 96cd8dc8de6f780e92593acd56eaca04fbc11fe7 (patch) | |
tree | 214ecef367e611922e9eaa4dea8eef0e0fa0e435 /src/bin/e_widget_table.c | |
parent | a809d629871030a672c684761bc7d1794ee13600 (diff) | |
download | enlightenment-96cd8dc8de6f780e92593acd56eaca04fbc11fe7.tar.gz |
container stacking/layer consistency and safety. also preview in fsel packs
preview properly now. fixed error dialog
SVN revision: 25113
Diffstat (limited to 'src/bin/e_widget_table.c')
-rw-r--r-- | src/bin/e_widget_table.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/bin/e_widget_table.c b/src/bin/e_widget_table.c index 1cd4635be3..adbf5c7bd2 100644 --- a/src/bin/e_widget_table.c +++ b/src/bin/e_widget_table.c @@ -59,6 +59,28 @@ e_widget_table_object_append(Evas_Object *obj, Evas_Object *sobj, int col, int r evas_object_show(sobj); } +EAPI void +e_widget_table_object_repack(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h) +{ + E_Widget_Data *wd; + Evas_Coord mw = 0, mh = 0; + + wd = e_widget_data_get(obj); + + e_table_unpack(sobj); + e_table_pack(wd->o_table, sobj, col, row, colspan, rowspan); + e_widget_min_size_get(sobj, &mw, &mh); + e_table_pack_options_set(sobj, + fill_w, fill_h, /* fill */ + expand_w, expand_h, /* expand */ + 0.5, 0.5, /* align */ + mw, mh, /* min */ + 99999, 99999 /* max */ + ); + e_table_min_size_get(wd->o_table, &mw, &mh); + e_widget_min_size_set(obj, mw, mh); +} + static void _e_wid_del_hook(Evas_Object *obj) { |