Author: gadamopoulos
Date: Sat Dec 20 22:11:35 2014
New Revision: 65780
URL: http://svn.reactos.org/svn/reactos?rev=65780&view=rev
Log:
[EXPLORER]
* Fix the fallback case when BCM_GETIDEALSIZE doesn't work.
* Take into account the size of the borders of the start button twice. Now the caption has enough space and doesn't hide part of the border and more importantly the button is vertically aligned to the tasks buttons.
Modified:
trunk/reactos/base/shell/explorer/traywnd.cpp
Modified: trunk/reactos/base/shell/explorer/traywnd.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/traywn…
==============================================================================
--- trunk/reactos/base/shell/explorer/traywnd.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/traywnd.cpp [iso-8859-1] Sat Dec 20 22:11:35 2014
@@ -102,8 +102,8 @@
if (m_ImageList == NULL ||
!SendMessageW(BCM_GETIDEALSIZE, 0, (LPARAM) &Size))
{
- Size.cx = GetSystemMetrics(SM_CXEDGE);
- Size.cy = GetSystemMetrics(SM_CYEDGE);
+ Size.cx = 2 * GetSystemMetrics(SM_CXEDGE);
+ Size.cy = 2 * GetSystemMetrics(SM_CYEDGE);
if (hbmStart == NULL)
{