On Fri, Feb 26, 2010 at 4:18 PM, Brian Wang <brian.wang.0...@gmail.com> wrote: > On Fri, Feb 26, 2010 at 2:24 PM, Atton Jonathan > <jonathan.at...@gmail.com> wrote: >> I will look at it in 10 hours :) > > Thanks. :-) > > I should add that it occurs with E/Illume in Xephyr (320x240). > If I don't run it in Xephyr, the window will resize to a minimal size > to fit the box when 'inwin' button is clicked and elm_notify goes to > the place (seems to be the 'bottom'). I guess the behaviour is > correct when the window can be resized. In Illume, every window is > maximized and cannot be resized if you don't override it. > > I still don't know how to fix it... Any pointers?
I tested the theory by forcing the min size of elm_bg by: evas_object_size_hint_min_set(bg, 320, 204); Now, it behaves properly in Illume. > >> >> 2010/2/26 Brian Wang <brian.wang.0...@gmail.com> >>> >>> Hello all, >>> >>> I tried again and here's a simple program that reproduces the problem. >>> Please see the attached code. >>> >>> In the program, there are two buttons. >>> * Good: click the 'notify' button. The elm_notify object appears at >>> the bottom as intended. >>> * Bad: click the 'inwin' button, click the 'close' button in the >>> inwin, and then click 'notify' button. The elm_notify object is now >>> positioned incorrectly. >>> >>> The problematic call is a elm_win_resize_object_add() call. / for >>> FIXME, or Line #20. >>> With or without the call, elm_win_inwin is always visually correct. >>> Is it my fault when calling the problematic >>> elm_win_resize_object_add() call? I always thought the call is not >>> harmful in anyway. >>> >>> Thanks in advance. >>> >>> >>> brian >>> >>> -- >>> brian >>> ------------------ >>> >>> Cool-Karaoke - The smallest recording studio, in your palm, open-sourced >>> http://cool-idea.com.tw/ >>> >>> iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe >>> >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> enlightenment-devel mailing list >>> enlightenment-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >>> >> >> >> >> -- >> Regards. >> > > > > -- > brian > ------------------ > > Cool-Karaoke - The smallest recording studio, in your palm, open-sourced > http://cool-idea.com.tw/ > > iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe > -- brian ------------------ Cool-Karaoke - The smallest recording studio, in your palm, open-sourced http://cool-idea.com.tw/ iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel