On 05/02/2011 10:42 AM, [email protected] wrote:
>
> Hi there,
>
> my intention is to create a table with a fixed table head that keeps its 
> position when the user scrolls trough it.
> I achieved it by putting 2 ListBoxes in a Pile. The first ListBox contains 
> the headlines (6 lines to be exact) and I passed it with a fixed height to 
> the Pile. The second list box contains the data where the user can scroll 
> over.
> That works pretty well except the console is resized to a height smaller than 
> the fixed height of the table head.
> The error is:
> "WidgetError: Widget<Pile selectable widget>  rendered (78 x 7) canvas when 
> passed size (78, 6)!"

Yes, that looks like a Pile bug.

> What can I do to save it from crashing?
> any ideas to create this layout in a better way?

I'm not sure I understand exacty what you mean, would you post a short 
example that demonstrates your layout?

Ian

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

Reply via email to