Skip to content

Commit

Permalink
Four
Browse files Browse the repository at this point in the history
  • Loading branch information
Splitwirez committed May 13, 2024
1 parent 24c8436 commit ce987db
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions base/shell/explorer/trayntfy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ static const WCHAR szTrayNotifyWndClass[] = L"TrayNotifyWnd";

#define TRAY_NOTIFY_WND_SPACING_X 1
#define TRAY_NOTIFY_WND_SPACING_Y 1
#define CLOCK_TEXT_HACK 4

/*
* TrayNotifyWnd
Expand Down Expand Up @@ -275,7 +276,8 @@ class CTrayNotifyWnd :
ptShowDesktop.x = rcClient.right;
showDesktopSize.cx = cxyShowDesktop;

rcClient.right -= 5;
// HACK: Clock has layout problems - remove this once addressed.
rcClient.right -= CLOCK_TEXT_HACK;
}
else
{
Expand All @@ -290,7 +292,8 @@ class CTrayNotifyWnd :
ptShowDesktop.y = rcClient.bottom;
showDesktopSize.cy = cxyShowDesktop;

rcClient.bottom -= 5;
// HACK: Clock has layout problems - remove this once addressed.
rcClient.bottom -= CLOCK_TEXT_HACK;
}

/* Resize and reposition the button */
Expand Down

0 comments on commit ce987db

Please sign in to comment.