bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dialog and large selection lists


From: Peter Hansson
Subject: Dialog and large selection lists
Date: Fri, 14 Dec 2012 03:30:18 -0800 (PST)

Hi,

I'm trying to use Dialog for some rather large selection lists (in the range 20-100 items).
User must select one and one only of these items.

For this purpose I'm using the menu widget.

Some things I cannot get my head around:

- How can I control the width of the tag within the box. It seems to me that if Dialog cannot fit the text (i.e. tag-text + item-text) it starts chopping the tag-text. This seems unnatural to me. Why not chop the item-text?  The tag text is the unique identifier of each line in the box, right?

- Can I turn off the hotkey feature?  My selections have many, many choices that all start with the same letter, so the hotkey feature will be confusing to the user.

- I need to add some kind of table heading. This is not a problem per se as I can use the menu text for that. But how do I align it with the contents of the menu box itself. I don't have control over the actual placement of the text inside the menu box and hence I cannot align the text a the top (the header) with what is inside.


I hope you can assist with some good ideas on this.

Thx.

Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]