[Urwid] Correct way for listbox and columns
Friedrich Weber
fred at samurai-x.org
Thu Nov 27 11:56:53 EST 2008
Hi,
I am wondering what's the correct way to have a ListBox in a Columns and this
Columns widget in a Pile widget. Currently I have the problem that I don't know
how I should do that (basically "How to have a box widget inside a flow widget").
I was trying to set box_columns=[<number of the listbox>] in the columns, but it
seems like the listbox is rendered with 'infinite' height. If I use a
BoxAdapter, I don't know which height to set (I would like the listbox to grow
or shrink when the window size is modified).
I can put together some example code if needed, but maybe you have a short
pointer for me? ;-)
Cheers,
Friedrich
More information about the Urwid
mailing list