Re: Vertically aligning components in St

2013/3/3 Jason Heeris <jason heeris gmail com>:
On 3 March 2013 01:56, Giovanni Campagna <scampa giovanni gmail com> wrote:
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?

Boolean. If true, the align value is ignored, and the actor is
overallocated. If false, the actor is allocated the preferred size,
according to the alignment.
Note that for StBoxLayout, [xy]_align and [xy]_fill only work on the
opposing orientation (eg horizontal for a vertical layout), the other
one is allocated according to expand, always allocating the extra
space evenly.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]