Re: Removing empty menus



On 11 Jul 2001, iain wrote:
> Currently when a menu is empty it is left in place, so that we end up
> with (For example when Edit is empty and clicked)
> 
> File  Edit  View
>        []

	If you want to remove the menu - try removing it. Removing the XML
entry for the submenu is one way.

> IE a small box with no menu items in it. This looks kinda ugly and
> might be confusing because the box is quite small and depending on the
> screen resolution may not even be seen.

	It is not clear what to do in this case. We could hide all
sub-menus with no visible children, but this will probably cause more
flicker than it's worth in the long term IMHO.

> Would it be possible to remove these empty menu items and put them
> back when another component adds an item to it?

	Yes, go ahead - remove it.

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





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