mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
Fix size of the startmenu (e.g. Start->Programs) when there are very much entries. Tested under Windows. Fix by slawek from the German forum.
svn path=/trunk/; revision=22313
This commit is contained in:
parent
47a7900e91
commit
64471203f9
|
@ -1482,7 +1482,7 @@ void StartMenu::ResizeToButtons()
|
|||
if (rect.bottom > cyscreen) {
|
||||
_arrow_btns = true;
|
||||
|
||||
_invisible_lines = (rect.bottom-cyscreen+(STARTMENU_LINE_HEIGHT(icon_size)-1))/STARTMENU_SEP_HEIGHT(icon_size) + 1;
|
||||
_invisible_lines = (rect.bottom-cyscreen+(STARTMENU_LINE_HEIGHT(icon_size)+1))/STARTMENU_LINE_HEIGHT(icon_size)+1;
|
||||
rect.bottom -= _invisible_lines * STARTMENU_LINE_HEIGHT(icon_size);
|
||||
|
||||
bottom_max = rect.bottom;
|
||||
|
|
Loading…
Reference in a new issue