mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[EXPLORER] CTrayNotifyWnd: Only update the requested dimension when handling TNWM_GETMINIMUMSIZE.
This commit is contained in:
parent
5a1984c998
commit
85d7dd4f83
1 changed files with 2 additions and 3 deletions
|
@ -173,6 +173,7 @@ public:
|
||||||
pSize->cx += TRAY_NOTIFY_WND_SPACING_X + szTrayClockMin.cx;
|
pSize->cx += TRAY_NOTIFY_WND_SPACING_X + szTrayClockMin.cx;
|
||||||
|
|
||||||
pSize->cx += szTray.cx;
|
pSize->cx += szTray.cx;
|
||||||
|
pSize->cx += ContentMargin.cxLeftWidth + ContentMargin.cxRightWidth;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -182,10 +183,8 @@ public:
|
||||||
pSize->cy += TRAY_NOTIFY_WND_SPACING_Y + szTrayClockMin.cy;
|
pSize->cy += TRAY_NOTIFY_WND_SPACING_Y + szTrayClockMin.cy;
|
||||||
|
|
||||||
pSize->cy += szTray.cy;
|
pSize->cy += szTray.cy;
|
||||||
}
|
|
||||||
|
|
||||||
pSize->cy += ContentMargin.cyTopHeight + ContentMargin.cyBottomHeight;
|
pSize->cy += ContentMargin.cyTopHeight + ContentMargin.cyBottomHeight;
|
||||||
pSize->cx += ContentMargin.cxLeftWidth + ContentMargin.cxRightWidth;
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue