It isn't difficult to do it from the c code. Use the function to set the size hint align to 0.5 1.0 of the objet appended. like evas_object_size_hint_align_set(o, 0.5, 1.0); if you use the legacy api.
2015-04-28 16:04 GMT+02:00 Davide Andreoli <d...@gurumeditation.it>: > 2015-04-28 15:39 GMT+02:00 Michaël Bouchaud <y...@efl.so>: > > > like this http://pastebin.com/PvfDxn8L > > > > 2015-04-28 15:37 GMT+02:00 Michaël Bouchaud <y...@efl.so>: > > > > > just add align: 0.5 1.0; in items block > > > > too easy that way :P > As I explained the box is populated from C code, not in the edc. > > > > > > > > 2015-04-28 14:45 GMT+02:00 Davide Andreoli <d...@gurumeditation.it>: > > > > > >> 2015-04-28 0:32 GMT+02:00 Carsten Haitzler <ras...@rasterman.com>: > > >> > > >> > On Mon, 27 Apr 2015 21:47:57 +0200 Davide Andreoli < > > >> d...@gurumeditation.it > > >> > > > > >> > said: > > >> > > > >> > > 2015-04-27 7:06 GMT+02:00 Carsten Haitzler <ras...@rasterman.com > >: > > >> > > > > >> > > > On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz > > >> > > > <wolfgang.moraw...@gmail.com> said: > > >> > > > > > >> > > > align: 0.5 0.5; > > >> > > > > > >> > > > is the default in every description - try 0.5 1.0 for bottom > > >> aligned - > > >> > > > depending what you want to align to bottom... :) > > >> > > > > > >> > > > > >> > > The problem is that align for box items do not really works, > > >> > > please give a look at this super simple example: > > >> > > http://pastebin.com/dRBspmJu > > >> > > and the result: > > >> > > http://www.enlightenment.org/ss/e-553e90974f63b7.62413817.jpg > > >> > > > > >> > > As you can see, only the first item is bottom-aligned, because > > >> > > of the explicit align on the item (line 36). But the second item > > >> > > do not respect the align asked on line 27. > > >> > > > > >> > > This is just an example, in the real world the box is populated > from > > >> > > the C/python code. Thus the designer is not able to choose the > > >> > > vertical alignment for the items in the box. > > >> > > > >> > you don't want to align the items, but align the BOX. make the box > not > > >> an > > >> > expanded blob but a minimal sized blob vertically and then align > that. > > >> > using > > >> > min size of items to expand this 0 height box to the minimum size of > > >> > items... > > >> > > > >> > > >> I think I really want to align the items, not the box. Your solution > > works > > >> only > > >> when items are homogeneous (same size). > > >> > > >> Do you have a solution for this one? > > >> http://pastebin.com/hVBLiFxm > > >> http://www.enlightenment.org/ss/e-553f801e21d243.51319171.jpg > > >> > > >> here I would like to have all the items aligned to the bottom, and > > >> remember > > >> that it will be populated from code, so I cannot set alignment for > each > > >> item. > > >> > > >> A classic example of this layout usage is the mac-style launcher. > > >> > > >> > > >> > > >> > > Is this a bug? An expected behavior? > > >> > > > > >> > > Thanks > > >> > > > > >> > > > > >> > > > > > >> > > > > Hi, > > >> > > > > i have some trouble to align the userslist.box to the bottom. > > >> > > > > Git source is: > > >> > > > > > > >> https://github.com/wfx/enter/blob/master/data/themes/enter/main.edc > > >> > > > > It is allways centered (screenshot: > > >> > > > > http://www.enlightenment.org/ss/e-553d22aee06ca9.61403495.jpg > ) > > >> > > > > The edc part is at line 339: > > >> > > > > > > >> > > > > part { name: "userslist"; type: SPACER; > > >> > > > > description { state: "default" 0.0; > > >> > > > > rel1 { > > >> > > > > to: "user"; > > >> > > > > relative: 1.0 0.0; > > >> > > > > offset: 24 0; > > >> > > > > } > > >> > > > > rel2 { > > >> > > > > to: "user"; > > >> > > > > relative: 1.0 (1.0 - 1.0); > > >> > > > > } > > >> > > > > } > > >> > > > > description { state: "visible" 0.0; > > >> > > > > rel1 { > > >> > > > > to: "user"; > > >> > > > > relative: 1.0 0.0; > > >> > > > > offset: 24 0; > > >> > > > > } > > >> > > > > rel2 { > > >> > > > > to: "user"; > > >> > > > > relative: 2.0 1.0; > > >> > > > > } > > >> > > > > } > > >> > > > > part { name: "userslist.box"; /* API */ > > >> > > > > type: BOX; > > >> > > > > description { state: "default" 0.0; > > >> > > > > box { > > >> > > > > layout: "horizontal"; > > >> > > > > align: 0.0 0.0; > > >> > > > > padding: 24 0; > > >> > > > > } > > >> > > > > } > > >> > > > > } > > >> > > > > > > >> > > > > Thanks > > >> > > > > wfx > > >> > > > > > > >> > > > > > >> > > > >> > > > ------------------------------------------------------------------------------ > > >> > > > > One dashboard for servers and applications across > > >> > Physical-Virtual-Cloud > > >> > > > > Widest out-of-the-box monitoring support with 50+ applications > > >> > > > > Performance metrics, stats and reports that give you > Actionable > > >> > Insights > > >> > > > > Deep dive visibility with transaction tracing using APM > Insight. > > >> > > > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > >> > > > > _______________________________________________ > > >> > > > > enlightenment-devel mailing list > > >> > > > > enlightenment-devel@lists.sourceforge.net > > >> > > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > >> > > > > > > >> > > > > > >> > > > > > >> > > > -- > > >> > > > ------------- Codito, ergo sum - "I code, therefore I am" > > >> > -------------- > > >> > > > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > >> > > > ------------------------------------------------------------------------------ > > >> > > > One dashboard for servers and applications across > > >> > Physical-Virtual-Cloud > > >> > > > Widest out-of-the-box monitoring support with 50+ applications > > >> > > > Performance metrics, stats and reports that give you Actionable > > >> > Insights > > >> > > > Deep dive visibility with transaction tracing using APM Insight. > > >> > > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > >> > > > _______________________________________________ > > >> > > > enlightenment-devel mailing list > > >> > > > enlightenment-devel@lists.sourceforge.net > > >> > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > >> > > > > > >> > > > > >> > > > >> > > > ------------------------------------------------------------------------------ > > >> > > One dashboard for servers and applications across > > >> Physical-Virtual-Cloud > > >> > > Widest out-of-the-box monitoring support with 50+ applications > > >> > > Performance metrics, stats and reports that give you Actionable > > >> Insights > > >> > > Deep dive visibility with transaction tracing using APM Insight. > > >> > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > >> > > _______________________________________________ > > >> > > enlightenment-devel mailing list > > >> > > enlightenment-devel@lists.sourceforge.net > > >> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > >> > > > > >> > > > >> > > > >> > -- > > >> > ------------- Codito, ergo sum - "I code, therefore I am" > > -------------- > > >> > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > >> > > > >> > > > >> > > >> > > > ------------------------------------------------------------------------------ > > >> One dashboard for servers and applications across > Physical-Virtual-Cloud > > >> Widest out-of-the-box monitoring support with 50+ applications > > >> Performance metrics, stats and reports that give you Actionable > Insights > > >> Deep dive visibility with transaction tracing using APM Insight. > > >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > >> _______________________________________________ > > >> enlightenment-devel mailing list > > >> enlightenment-devel@lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > >> > > > > > > > > > > > > -- > > > Michaël Bouchaud (yoz) <y...@efl.so> > > > > > > > > > > > -- > > Michaël Bouchaud (yoz) <y...@efl.so> > > > > > ------------------------------------------------------------------------------ > > One dashboard for servers and applications across Physical-Virtual-Cloud > > Widest out-of-the-box monitoring support with 50+ applications > > Performance metrics, stats and reports that give you Actionable Insights > > Deep dive visibility with transaction tracing using APM Insight. > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > _______________________________________________ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Michaël Bouchaud (yoz) <y...@efl.so> ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel