Re: Vertically aligning components in St

2013-03-03 Thread Giovanni Campagna
2013/3/3 Jason Heeris : > On 3 March 2013 01:56, Giovanni Campagna wrote: >> St.Align.START, MIDDLE and END >> It should be StAlign in the St documentation, file a bug if not. > > It's referenced in the API index, but it doesn't seem to be in the full docs. > > What about the (x|y)_fill values? B

Re: Vertically aligning components in St

2013-03-02 Thread Jason Heeris
On 3 March 2013 01:56, Giovanni Campagna wrote: > St.Align.START, MIDDLE and END > It should be StAlign in the St documentation, file a bug if not. It's referenced in the API index, but it doesn't seem to be in the full docs. What about the (x|y)_fill values? — Jason ___

Re: Vertically aligning components in St

2013-03-02 Thread Giovanni Campagna
2013/3/2 Jason Heeris : > On 3 March 2013 01:11, Giovanni Campagna wrote: >> CSS vertical-align is not implemented, and StBoxLayout doesn't use the >> standard [xy]_align and [xy]_expand properties. >> Instead, it uses [xy]_align and [xy]_fill child properties, that you >> can set with .add(actor,

Re: Vertically aligning components in St

2013-03-02 Thread Jason Heeris
On 3 March 2013 01:11, Giovanni Campagna wrote: > CSS vertical-align is not implemented, and StBoxLayout doesn't use the > standard [xy]_align and [xy]_expand properties. > Instead, it uses [xy]_align and [xy]_fill child properties, that you > can set with .add(actor, { y_align: St.Align.MIDDLE })

Re: Vertically aligning components in St

2013-03-02 Thread Giovanni Campagna
2013/3/2 Jason Heeris : > I've been trying to vertically align components in an St.BoxLayout > (with vertical = false), but nothing I do seems to have any affect. > I've tried setting 'vertical-align' in the CSS for a component, and > setting y_align and y_expand on both the components and the BoxL