git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@65421
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
description { state: "default" 0.0;
min: 40 40;
max: 40 40;
description { state: "default" 0.0;
min: 40 40;
max: 40 40;
align: 1 0.5;
rel1.to: "elm.text.title";
rel1.relative: 0 0;
align: 1 0.5;
rel1.to: "elm.text.title";
rel1.relative: 0 0;
Evas_Object *title_next_btn;
Evas_Object *icon;
const char *style;
Evas_Object *title_next_btn;
Evas_Object *icon;
const char *style;
+ Evas_Coord minw;
+ Evas_Coord minh;
Eina_Bool back_btn: 1;
Eina_Bool title_visible: 1;
};
Eina_Bool back_btn: 1;
Eina_Bool title_visible: 1;
};
{
Widget_Data *wd;
Elm_Naviframe_Item *it;
{
Widget_Data *wd;
Elm_Naviframe_Item *it;
+ Evas_Coord minw = -1, minh = -1;
wd = elm_widget_data_get(obj);
if (!wd) return;
EINA_INLIST_FOREACH(wd->stack, it)
wd = elm_widget_data_get(obj);
if (!wd) return;
EINA_INLIST_FOREACH(wd->stack, it)
+ {
+ _item_sizing_eval(it);
+ if (it->minw > minw) minw = it->minw;
+ if (it->minh > minh) minh = it->minh;
+ }
+ evas_object_size_hint_min_set(obj, minw, minh);
+ evas_object_size_hint_max_set(obj, -1, -1);
evas_object_geometry_get(WIDGET(it), &x, &y, &w, &h);
evas_object_move(VIEW(it), x, y);
evas_object_resize(VIEW(it), w, h);
evas_object_geometry_get(WIDGET(it), &x, &y, &w, &h);
evas_object_move(VIEW(it), x, y);
evas_object_resize(VIEW(it), w, h);
+ edje_object_size_min_calc(VIEW(it), &it->minw, &it->minh);