mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 07:40:09 +08:00
[EXPLORER] CTrayNotifyWnd: Only update the requested dimension when handling TNWM_GETMINIMUMSIZE.
This commit is contained in:
@@ -173,6 +173,7 @@ public:
|
||||
pSize->cx += TRAY_NOTIFY_WND_SPACING_X + szTrayClockMin.cx;
|
||||
|
||||
pSize->cx += szTray.cx;
|
||||
pSize->cx += ContentMargin.cxLeftWidth + ContentMargin.cxRightWidth;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -182,11 +183,9 @@ public:
|
||||
pSize->cy += TRAY_NOTIFY_WND_SPACING_Y + szTrayClockMin.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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user