[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.

svn path=/trunk/; revision=65780
This commit is contained in:
Giannis Adamopoulos 2014-12-20 22:11:35 +00:00
parent 56dde36de0
commit 80aefab1f2

View file

@ -102,8 +102,8 @@ public:
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)
{