Matti Eiden wrote on 2010-06-09 21:23:
> Looking at the Padding.rows() function, I notice there are three
> cases, one for width='pack', one for width='clip' and the last one
> which I guess goes to anything else. So I guess I should be using
> width=('relative',100) amrite?
>
> Seems to work. Still however, is this intended functionality?
Hi Matti,
('relative', 100) is the right way of doing that at the moment.
The Padding interface changed in 0.9.9 and 'pack' was set as the default
width parameter, but that might not have been the best choice and I
might change it to ('relative', 100) in the next release.
'pack' is only supported on a few widgets at the moment (like Text) so
making it the default has caused other problems too.
Ian
_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid