2011/8/18 Carsten Haitzler <[email protected]>:
> On Thu, 18 Aug 2011 01:14:22 +0200 Nicolas Aguirre <[email protected]>
> said:
>
>
> this is partly an e17 and partly an elementary problem.
>
> most toolkits EXPLICITLY place their dialog boxes and try place them centered
> over the parent win. elementary doesnt try. e17 also has no logic to handle an
> "unplaced" dialog and auto place it centered over the parentwindow.
>
> hmm i suspect this is an illume issue and it isnt handling a change in min 
> size
> properties after show
>

Ok i found my problem, I was showing the dialog window before creating
all windgets.
So illume and e17 was trying to place a window with no content. Now i
call evas_object_show(win)
after widgets creation, and the dialog is correctly placed and resized
for both illume and e17 !

> if you want padding i highly suggest putting all elements u want padding 
> around
> in a frame ans use the pad styles of frame (pad_small, pad_medium, pad_large
> from memory - it's documented). this way theme defines just how much padding
> small/med/large is. and yes for box padding == the padding in between 
> elements.
>

Ah yes, frames ! It looks good now :) with elm_object_style_set(fr,
"pad_large");
and yes it's documented.





-- 
Nicolas Aguirre
Mail: [email protected]
Web: http://enna.geexbox.org
Blog: http://dev.enlightenment.fr/~captainigloo/

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to