projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a7900
)
Fix size of the startmenu (e.g. Start->Programs) when there are very much entries...
author
Maarten Bosma
<maarten@bosma.de>
Sun, 11 Jun 2006 15:16:48 +0000
(15:16 +0000)
committer
Maarten Bosma
<maarten@bosma.de>
Sun, 11 Jun 2006 15:16:48 +0000
(15:16 +0000)
svn path=/trunk/; revision=22313
reactos/base/shell/explorer/taskbar/startmenu.cpp
patch
|
blob
|
history
diff --git
a/reactos/base/shell/explorer/taskbar/startmenu.cpp
b/reactos/base/shell/explorer/taskbar/startmenu.cpp
index
e2a92cc
..
2472dcc
100644
(file)
--- a/
reactos/base/shell/explorer/taskbar/startmenu.cpp
+++ b/
reactos/base/shell/explorer/taskbar/startmenu.cpp
@@
-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;