[Urwid] example of maxrow (or height?)

Kurt Yoder kyoder at gmail.com
Wed Nov 16 18:19:26 EST 2011


On Nov 16, 2011, at 5:29 PM, Ian Ward wrote:

<snip>
> 
> urwid.MainLoop(
>    urwid.Filler(
>        urwid.BoxAdapter(
>            urwid.Filler(
>                urwid.Edit(u"Type lots:", u"", multiline=True),
>                'top'),
>            5),
>        'top')
>    ).run()
> 
> You likely just need the BoxAdapter and inner Filler.
> 
> Ian

Very nice, it works perfectly (yes, I had to *only* use the inner BoxAdapter/Filler, otherwise I got an error).

Thank you!


More information about the Urwid mailing list