Re: [E-devel] edje align box to bottom.

2015-04-29 Thread Michaël Bouchaud
Not really cheating, only let the designer what he want to do (align, offset, ...). The align for the box (like in evas, because edje_box == evas_box) is the point of the balance of the object. So if you have horizontal box only the first parameter of align field is taken into account, to know if t

Re: [E-devel] edje align box to bottom.

2015-04-28 Thread Davide Andreoli
2015-04-28 17:08 GMT+02:00 Michaël Bouchaud : > You can make a container group with 2 parts... > The first one fill the place and the second, who is a swallow, aligned to > bottom. > You swallow your content in this group and add this group to the box. > Here you are cheating :) The whole point o

Re: [E-devel] edje align box to bottom.

2015-04-28 Thread Michaël Bouchaud
You can make a container group with 2 parts... The first one fill the place and the second, who is a swallow, aligned to bottom. You swallow your content in this group and add this group to the box. 2015-04-28 16:44 GMT+02:00 Wolfgang Morawetz : > This will make the split of designe and code usel

Re: [E-devel] edje align box to bottom.

2015-04-28 Thread Wolfgang Morawetz
This will make the split of designe and code useless. Michaël Bouchaud schrieb >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. >

Re: [E-devel] edje align box to bottom.

2015-04-28 Thread Michaël Bouchaud
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 : > 2015-04-28 15:39 GMT+02:00 Michaël Bouchaud : >

Re: [E-devel] edje align box to bottom.

2015-04-28 Thread Davide Andreoli
2015-04-28 15:39 GMT+02:00 Michaël Bouchaud : > like this http://pastebin.com/PvfDxn8L > > 2015-04-28 15:37 GMT+02:00 Michaël Bouchaud : > > > 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

Re: [E-devel] edje align box to bottom.

2015-04-28 Thread Michaël Bouchaud
like this http://pastebin.com/PvfDxn8L 2015-04-28 15:37 GMT+02:00 Michaël Bouchaud : > just add align: 0.5 1.0; in items block > > 2015-04-28 14:45 GMT+02:00 Davide Andreoli : > >> 2015-04-28 0:32 GMT+02:00 Carsten Haitzler : >> >> > On Mon, 27 Apr 2015 21:47:57 +0200 Davide Andreoli < >> d...@gu

Re: [E-devel] edje align box to bottom.

2015-04-28 Thread Michaël Bouchaud
just add align: 0.5 1.0; in items block 2015-04-28 14:45 GMT+02:00 Davide Andreoli : > 2015-04-28 0:32 GMT+02:00 Carsten Haitzler : > > > 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 : > > > > >

Re: [E-devel] edje align box to bottom.

2015-04-28 Thread Davide Andreoli
2015-04-28 0:32 GMT+02:00 Carsten Haitzler : > On Mon, 27 Apr 2015 21:47:57 +0200 Davide Andreoli > > said: > > > 2015-04-27 7:06 GMT+02:00 Carsten Haitzler : > > > > > On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz > > > said: > > > > > > align: 0.5 0.5; > > > > > > is the default in ever

Re: [E-devel] edje align box to bottom.

2015-04-27 Thread Davide Andreoli
2015-04-28 0:32 GMT+02:00 Carsten Haitzler : > On Mon, 27 Apr 2015 21:47:57 +0200 Davide Andreoli > > said: > > > 2015-04-27 7:06 GMT+02:00 Carsten Haitzler : > > > > > On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz > > > said: > > > > > > align: 0.5 0.5; > > > > > > is the default in ever

Re: [E-devel] edje align box to bottom.

2015-04-27 Thread The Rasterman
On Mon, 27 Apr 2015 21:47:57 +0200 Davide Andreoli said: > 2015-04-27 7:06 GMT+02:00 Carsten Haitzler : > > > On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz > > said: > > > > align: 0.5 0.5; > > > > is the default in every description - try 0.5 1.0 for bottom aligned - > > depending what

Re: [E-devel] edje align box to bottom.

2015-04-27 Thread Davide Andreoli
2015-04-27 7:06 GMT+02:00 Carsten Haitzler : > On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz > 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

Re: [E-devel] edje align box to bottom.

2015-04-26 Thread The Rasterman
On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz 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... :) > Hi, > i have some trouble to align the userslist.box to the bottom. > Git source is: > https://git

[E-devel] edje align box to bottom.

2015-04-26 Thread Wolfgang Morawetz
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 { n