From a657e5f6efa160110867d3a19ed886a9b40ceb28 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 17 Jun 2013 14:35:47 +0200 Subject: [PATCH] user32: Make the default non-client metrics scalable with the resolution. --- dlls/user32/sysparams.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c index 175753caa40..7c05d004d96 100644 --- a/dlls/user32/sysparams.c +++ b/dlls/user32/sysparams.c @@ -1181,18 +1181,18 @@ static BOOL_ENTRY_MIRROR( ICONTITLEWRAP, TRUE ); static YESNO_ENTRY( BEEP, TRUE ); -static TWIPS_ENTRY( BORDER, 1 ); -static TWIPS_ENTRY( CAPTIONHEIGHT, 18 ); -static TWIPS_ENTRY( CAPTIONWIDTH, 18 ); -static TWIPS_ENTRY( ICONHORIZONTALSPACING, 75 ); -static TWIPS_ENTRY( ICONVERTICALSPACING, 75 ); -static TWIPS_ENTRY( MENUHEIGHT, 18 ); -static TWIPS_ENTRY( MENUWIDTH, 18 ); +static TWIPS_ENTRY( BORDER, -15 ); +static TWIPS_ENTRY( CAPTIONHEIGHT, -270 ); +static TWIPS_ENTRY( CAPTIONWIDTH, -270 ); +static TWIPS_ENTRY( ICONHORIZONTALSPACING, -1125 ); +static TWIPS_ENTRY( ICONVERTICALSPACING, -1125 ); +static TWIPS_ENTRY( MENUHEIGHT, -270 ); +static TWIPS_ENTRY( MENUWIDTH, -270 ); static TWIPS_ENTRY( PADDEDBORDERWIDTH, 0 ); -static TWIPS_ENTRY( SCROLLHEIGHT, 16 ); -static TWIPS_ENTRY( SCROLLWIDTH, 16 ); -static TWIPS_ENTRY( SMCAPTIONHEIGHT, 15 ); -static TWIPS_ENTRY( SMCAPTIONWIDTH, 13 ); +static TWIPS_ENTRY( SCROLLHEIGHT, -240 ); +static TWIPS_ENTRY( SCROLLWIDTH, -240 ); +static TWIPS_ENTRY( SMCAPTIONHEIGHT, -225 ); +static TWIPS_ENTRY( SMCAPTIONWIDTH, -225 ); static DWORD_ENTRY( ACTIVEWINDOWTRACKING, 0 ); static DWORD_ENTRY( ACTIVEWNDTRKTIMEOUT, 0 );