2015-04-27 7:06 GMT+02:00 Carsten Haitzler <[email protected]>: > On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz > <[email protected]> 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. 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 > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) [email protected] > > > > ------------------------------------------------------------------------------ > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
