[Urwid] How to push a widget to the bottom?

Lukasz Grabowski graboluk at gmail.com
Sun Mar 1 10:46:56 EST 2015


2015-03-01 15:07 GMT+00:00 Lukasz Grabowski <graboluk at gmail.com>:

> I'd like to use Filler (or something else) to "push a widget to the bottom".

As explained to me by wardi on IRC, adding the option box_columns =[0]
to the Columns constructor solves the problem, i.e. it is possible to
use e.g. Filler(GridFlow, valign='bottom', bottom=1) to have exactly 1
row between the bottom and the gridflow.

L



>
> I have a pile of [something, something, Columns] and in the Columns I
> have [GridFlow, GridFlow, Text]. The problem is that the first
> GridFlow takes always exactly one line and the second GridFlow takes
> anything between 1-4 lines  so I'd like to have the first GridFlow
> pushed to the bottom
>
> I tried exchanging the first GridFlow with Filler(GridFlow) but uriwd
> keeps complaining.
>
> Here's a screenshot: http://homepages.warwick.ac.uk/~masmbh/s.png I'd
> like to push "j a c s" in the bottom left corner completely to the
> bottom
>
> Best, Lukasz



More information about the Urwid mailing list