[Urwid] example of maxrow (or height?)

Ian Ward ian at excess.org
Wed Nov 16 13:35:02 EST 2011


Hi Kurt,

Kurt Yoder wrote on 2011-11-16 13:26:
> All,
> 
> I am trying to make a text input box containing a long block of text.
> But this input box must share vertical space with other widgets, so I
> don't want it to expand to display everything inside the input box.
> Is there a commonly-accepted way to do this? For example, if the
> screen shows:
> 
> widget1 widget2 biginput1 biginput2
> 
> can I tell biginput1 and 2 to both constrain themselves to maximum 5
> rows? It seems the documentation refers to "maxrow", but I can't find
> an example of how to do this.

What would you like to happen when the content of the text exceeds 5 rows?

> 
> Is this even the right way to do it, and if so how?



More information about the Urwid mailing list