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

Re: [E-devel] e_menu patch for smarter placement

On Sun, 13 Aug 2006 22:11:49 +0000 Hannes Janetzek <rastamasta@gmx.de> babbled:

> Hello,
> I made a patch for e_menu that minimizes the need for vertical
> scrolling. 
> The submenu starts either above or below the actual
> Item, not only below. It works as follows: if the menu is larger than
> the screen then place the menu so that more is shown. e.g. if its start
> in the lower half of the screen more is shown when the menu is above.
> If the menu is smaller than the screen but it goes offscreen then it is
> also tested if the menu should go above.
> The submenu starts of  course direct next to the actual item. The terms
> above and below could be misleading.
> If this should be made an option I can change the patch, though i could
> hardly understand why someone would like it less comfortable :) 

decent enough - patch accepted :)

------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
Tokyo, Japan (東京 日本)