[Tickit-dev] H/VBox running out of space

Alastair Douglas alastair.douglas at gmail.com
Wed Jun 22 09:03:58 BST 2011


On Wed, Jun 15, 2011 at 5:42 PM, Paul LeoNerd Evans
<leonerd at leonerd.org.uk> wrote:
> the shortfall in columns/rows is distributed among the
> child widgets in proportion to the 'expand' setting given by each.
>
> some widgets could be deemed less important
> than others; to be omitted entirely if this then gives the remaining a
> full allocation of size.
>
> What might the API for this look like? Is it sufficiently useful to put

The wannabe mathematician in me says, 'expand' can be a function of
the available space that returns the amount of space to give to this
widget. As with everything, I probably have neglected to consider a
very important point about this so I'll leave it there ;)


More information about the Tickit-dev mailing list