Re: [PATCH] fix menu size calculation in presence of selected item pixmap

2013-04-09 Thread Andrey Borzenkov
В Mon, 08 Apr 2013 20:51:17 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 21.02.2013 18:36, Andrey Borzenkov wrote: > > > draw_menu() acconted for upper border of selected item pixmap, but not > > for lower. So it could happen that lower border was visually cut off. > > > > Also vario

Re: [PATCH] fix menu size calculation in presence of selected item pixmap

2013-04-09 Thread Vladimir Testov
>I don't see the logic behind this. item_top in draw_menu doesn't >increase more on selected item than on any other one. Current function does not take into account pixmap style of the selected item. This pixmap style needs for additional space to be drawn. Overall height of the selected item is:

Re: [PATCH] fix menu size calculation in presence of selected item pixmap

2013-04-08 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.02.2013 18:36, Andrey Borzenkov wrote: > draw_menu() acconted for upper border of selected item pixmap, but not > for lower. So it could happen that lower border was visually cut off. > > Also various calculations of menu vertical size did not account for > space for lower border > > Signe