edje_object_size_min_calc(elm_smart_scroller_edje_object_get(wd->scr), &vmw, &vmh);
if (wd->min_w) w = vmw + minw;
if (wd->min_h) h = vmh + minh;
+
+ evas_object_size_hint_max_get(obj, &maxw, &maxh);
+ if ((maxw > 0) && (w > maxw)) w = maxw;
+ if ((maxh > 0) && (h > maxh)) h = maxh;
+
evas_object_size_hint_min_set(obj, w, h);
}
}
if (1) // need way to detect if someone has a selection
{
if (ext_mod->editable)
- elm_ctxpopup_item_add(ext_mod->popup, NULL, "Paste", _paste, obj );
+ elm_ctxpopup_item_add(ext_mod->popup, NULL, "Paste",_paste, obj );
}
// elm_ctxpopup_item_add(wd->ctxpopup, NULL, "Selectall",_select_all, obj );
// start for cbhm
elm_ctxpopup_item_add(ext_mod->popup, NULL, "Copy",_copy, obj );
if (ext_mod->editable)
elm_ctxpopup_item_add(ext_mod->popup, NULL, "Cut",_cut, obj );
+ if (ext_mod->editable)
+ elm_ctxpopup_item_add(ext_mod->popup, NULL, "Paste",_paste, obj );
}
else
{