On Tue, 29 Apr 2014 09:56:00 +0200 jcaz...@sirlan.com said:

> Hello,
> 
> Is there a way in Evas/Ecore to automatically adapt the canvas content  
> (size of each Evas object, font size, ...) when the canvas is resized ?  
> Does this feature is supported in Evas/Ecore ? How to achieve that?
> 
> Typical use case: the user change the resolution of the screen.
> 
> Thank you for your help,

if using ecore_evas - there is a resize callback on the ecore_evas./ if using
elementary - see the docs for elm_win - there is a resize event callback on the
window object.

ecore_evas:

  ecore_evas_callback_resize_set(ee, callback_resize);

elm:

  evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, callback_resize,
NULL);



-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to