On Sat, Aug 31, 2013 at 9:22 PM, Aleksandr Miroslav
<[email protected]> wrote:
> Now here is the behavior I am after, I want to display the bottom half
> of the text, not the top half.

Using a Pile exhibits the same behavior:


num = 55
numbers = [str(i) for i in xrange(num) ]
numbers_t = [urwid.Text(i) for i in numbers]
numbers_t.reverse()
p = urwid.Pile(numbers_t)

f = urwid.Filler(p,valign='bottom')
loop = urwid.MainLoop(f)
loop.run()

If the height of the pile is less than the height of the screen, but
if the pile is larger, only the top of the pile is displayed. Looking
through the docs, I don't see a way to do this, so I'm guessing that I
would have to ask my filler to see how many rows are available to me
and then only show that many rows?

_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to