[Urwid] Centering Button Text

Andrew Higginson at.higginson at gmail.com
Tue Apr 10 06:36:41 EDT 2012


So I am new to urwid and need some help :)

I have a set of buttons packed with an urwid.Columns and I would like
the text inside each buttons to be centered
Currently it looks like this  but as you can see, the text is aligned to
the left

If there is not a method/easy way to achieve this, and it requires some
sub-classing, could you give me some pointers on how to do it?



More information about the Urwid mailing list