Works like charm ;) Thanks. 2009/7/21 Ian Ward <[email protected]>: > Max E. Kuznecov wrote: >> canvases.append((urwid.TextCanvas(text=["НЕЧТО"], >> attr=[[('banner', cols)]], >> maxcol=cols), 2, False)) > > try this instead: > > canvases.append((urwid.AttrWrap(urwid.Text('НЕЧТО'), > 'banner').render((cols,)), 2, False)) > > The TextCanvas attr parameter is a list of (attribute, num_bytes) not > (attribute, columns), so you could calculate that yourself or just let > Text do it like I did above. > > Ian > > > _______________________________________________ > Urwid mailing list > [email protected] > http://lists.excess.org/mailman/listinfo/urwid >
-- ~syhpoon _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
