On 2/4/10, Enlightenment SVN <no-re...@enlightenment.org> wrote:
> +   sc = elm_scroller_add(win);
> +   elm_scroller_content_min_limit(sc, 0, 1);
> +   elm_scroller_policy_set(sc, ELM_SCROLLER_POLICY_OFF,
> ELM_SCROLLER_POLICY_OFF);
> +   elm_scroller_bounce_set(sc, 1, 0);
> +   evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, 0.0);
> +   evas_object_size_hint_align_set(sc, EVAS_HINT_FILL, 0.5);
> +   elm_box_pack_end(bx, sc);
> +
> +   en = elm_entry_add(win);
> +   elm_entry_single_line_set(en, 1);
> +   elm_entry_entry_set(en, "This is the top entry here");
> +   evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, 0.0);
> +   evas_object_size_hint_align_set(en, EVAS_HINT_FILL, 0.5);
> +   elm_scroller_content_set(sc, en);
> +   evas_object_show(en);

raster, please use elm_scrolled_entry. it will reduce duplicated code
and also make it easier to apply a special scroller theme for entry
when we agree on good looking entry visual.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to