joy.cpl: Make dialog the same size as the other cpl applets.

This commit is contained in:
Lucas Zawacki 2012-06-27 00:08:11 -03:00 committed by Alexandre Julliard
parent 43ecfe036e
commit 22e48becaa
2 changed files with 9 additions and 9 deletions

View File

@ -82,7 +82,7 @@ struct JoystickData {
#define TEST_BUTTON_X 15 #define TEST_BUTTON_X 15
#define TEST_BUTTON_Y 200 #define TEST_BUTTON_Y 200
#define TEST_NEXT_BUTTON_X 45 #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_X 30
#define TEST_BUTTON_SIZE_Y 25 #define TEST_BUTTON_SIZE_Y 25

View File

@ -28,32 +28,32 @@ BEGIN
IDS_CPL_NAME "Game Controllers" IDS_CPL_NAME "Game Controllers"
END END
IDD_LIST DIALOG 0, 0, 250, 200 IDD_LIST DIALOG 0, 0, 320, 220
STYLE WS_CAPTION | WS_CHILD | WS_DISABLED STYLE WS_CAPTION | WS_CHILD | WS_DISABLED
CAPTION "Joysticks" CAPTION "Joysticks"
FONT 8, "Ms Shell Dlg" FONT 8, "Ms Shell Dlg"
{ {
PUSHBUTTON "&Disable", IDC_BUTTONDISABLE, 190, 20, 50, 15 PUSHBUTTON "&Disable", IDC_BUTTONDISABLE, 200, 20, 50, 15
PUSHBUTTON "&Enable", IDC_BUTTONENABLE, 190, 95, 50, 15 PUSHBUTTON "&Enable", IDC_BUTTONENABLE, 200, 95, 50, 15
LTEXT "Connected", IDC_STATIC, 10, 10, 100, 10 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 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 STYLE WS_CAPTION | WS_CHILD | WS_DISABLED
CAPTION "Test Joystick" CAPTION "Test Joystick"
FONT 8, "Ms Shell Dlg" FONT 8, "Ms Shell Dlg"
{ {
COMBOBOX IDC_TESTSELECTCOMBO, 5, 5, 100, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS 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_TESTGROUPXY, 15, 30, 60, 60
GROUPBOX "", IDC_TESTGROUPRXRY, 92, 30, 60, 60 GROUPBOX "", IDC_TESTGROUPRXRY, 92, 30, 60, 60
GROUPBOX "", IDC_TESTGROUPZRZ, 169, 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 STYLE WS_CAPTION | WS_CHILD | WS_DISABLED
CAPTION "Test Force Feedback" CAPTION "Test Force Feedback"
FONT 8, "Ms Shell Dlg" FONT 8, "Ms Shell Dlg"