From 22e48becaad3502653edbdd8a28c79c5a3edec2d Mon Sep 17 00:00:00 2001 From: Lucas Zawacki Date: Wed, 27 Jun 2012 00:08:11 -0300 Subject: [PATCH] joy.cpl: Make dialog the same size as the other cpl applets. --- dlls/joy.cpl/joy.h | 2 +- dlls/joy.cpl/joy.rc | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dlls/joy.cpl/joy.h b/dlls/joy.cpl/joy.h index c4a13b8b1da..c98f5359214 100644 --- a/dlls/joy.cpl/joy.h +++ b/dlls/joy.cpl/joy.h @@ -82,7 +82,7 @@ struct JoystickData { #define TEST_BUTTON_X 15 #define TEST_BUTTON_Y 200 #define TEST_NEXT_BUTTON_X 45 -#define TEST_NEXT_BUTTON_Y 30 +#define TEST_NEXT_BUTTON_Y 40 #define TEST_BUTTON_SIZE_X 30 #define TEST_BUTTON_SIZE_Y 25 diff --git a/dlls/joy.cpl/joy.rc b/dlls/joy.cpl/joy.rc index 1e94990c45e..06368686c82 100644 --- a/dlls/joy.cpl/joy.rc +++ b/dlls/joy.cpl/joy.rc @@ -28,32 +28,32 @@ BEGIN IDS_CPL_NAME "Game Controllers" END -IDD_LIST DIALOG 0, 0, 250, 200 +IDD_LIST DIALOG 0, 0, 320, 220 STYLE WS_CAPTION | WS_CHILD | WS_DISABLED CAPTION "Joysticks" FONT 8, "Ms Shell Dlg" { - PUSHBUTTON "&Disable", IDC_BUTTONDISABLE, 190, 20, 50, 15 - PUSHBUTTON "&Enable", IDC_BUTTONENABLE, 190, 95, 50, 15 + PUSHBUTTON "&Disable", IDC_BUTTONDISABLE, 200, 20, 50, 15 + PUSHBUTTON "&Enable", IDC_BUTTONENABLE, 200, 95, 50, 15 LTEXT "Connected", IDC_STATIC, 10, 10, 100, 10 - LISTBOX IDC_JOYSTICKLIST, 10, 20, 160, 70, WS_TABSTOP | WS_VSCROLL | LBS_NOTIFY + LISTBOX IDC_JOYSTICKLIST, 10, 20, 180, 70, WS_TABSTOP | WS_VSCROLL | LBS_NOTIFY LTEXT "Disabled", IDC_STATIC, 10, 85, 100, 10 - LISTBOX IDC_DISABLEDLIST, 10, 95, 160, 50, WS_TABSTOP | WS_VSCROLL | LBS_NOTIFY + LISTBOX IDC_DISABLEDLIST, 10, 95, 180, 70, WS_TABSTOP | WS_VSCROLL | LBS_NOTIFY } -IDD_TEST DIALOG 0, 0, 250, 200 +IDD_TEST DIALOG 0, 0, 320, 220 STYLE WS_CAPTION | WS_CHILD | WS_DISABLED CAPTION "Test Joystick" FONT 8, "Ms Shell Dlg" { COMBOBOX IDC_TESTSELECTCOMBO, 5, 5, 100, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS - GROUPBOX "Buttons", IDC_STATIC, 0, 110, 250, 90 + GROUPBOX "Buttons", IDC_STATIC, 0, 110, 250, 110 GROUPBOX "", IDC_TESTGROUPXY, 15, 30, 60, 60 GROUPBOX "", IDC_TESTGROUPRXRY, 92, 30, 60, 60 GROUPBOX "", IDC_TESTGROUPZRZ, 169, 30, 60, 60 } -IDD_FORCEFEEDBACK DIALOG 0, 0, 250, 200 +IDD_FORCEFEEDBACK DIALOG 0, 0, 320, 220 STYLE WS_CAPTION | WS_CHILD | WS_DISABLED CAPTION "Test Force Feedback" FONT 8, "Ms Shell Dlg"