mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 10:42:17 +00:00
[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:
parent
56dde36de0
commit
80aefab1f2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue