https://git.reactos.org/?p=reactos.git;a=commitdiff;h=da9accfba6e8eb769dcd317185a9b57d161275b7

commit da9accfba6e8eb769dcd317185a9b57d161275b7
Author:     Denis Malikov <[email protected]>
AuthorDate: Sun Jan 13 22:55:45 2019 +0700
Commit:     Giannis Adamopoulos <[email protected]>
CommitDate: Sun Jan 13 18:21:36 2019 +0200

    [COMCTL32] add padding for status bar text
---
 dll/win32/comctl32/status.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dll/win32/comctl32/status.c b/dll/win32/comctl32/status.c
index 02e26b0a9d..cfee259cd8 100644
--- a/dll/win32/comctl32/status.c
+++ b/dll/win32/comctl32/status.c
@@ -201,6 +201,8 @@ STATUSBAR_DrawPart (const STATUS_INFO *infoPtr, HDC hdc, 
const STATUSWINDOWPART
     } else {
         r.left += x;
 #ifdef __REACTOS__
+        r.left += 3;
+        r.right -= 3;
         if (!theme)
             DrawStatusTextW (hdc, &r, part->text, SBT_NOBORDERS);
         else

Reply via email to