From 33db8a355b90f747c3c11f4c26f5444515e254e1 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Sun, 17 Feb 2019 17:40:52 -0600 Subject: [PATCH] win32: Make control dialog less cramped. --- win32/rsrc/snes9x.rc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/win32/rsrc/snes9x.rc b/win32/rsrc/snes9x.rc index 2cdb99de..dd488b02 100644 --- a/win32/rsrc/snes9x.rc +++ b/win32/rsrc/snes9x.rc @@ -250,7 +250,7 @@ BEGIN CONTROL "Progress1",IDC_NPPROGRESS,"msctls_progress32",WS_BORDER,6,30,174,25 END -IDD_INPUTCONFIG DIALOGEX 0, 0, 330, 152 +IDD_INPUTCONFIG DIALOGEX 0, 0, 330, 172 STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CLIPCHILDREN | WS_CAPTION CAPTION " " FONT 8, "MS Shell Dlg", 400, 0, 0x1 @@ -264,7 +264,7 @@ BEGIN CONTROL "",IDC_B,"InputCustom",WS_TABSTOP,50,91,71,12,WS_EX_CLIENTEDGE CONTROL "",IDC_A,"InputCustom",WS_TABSTOP,50,104,71,12,WS_EX_CLIENTEDGE CONTROL "",IDC_Y,"InputCustom",WS_TABSTOP,50,117,71,12,WS_EX_CLIENTEDGE - CONTROL "",IDC_X,"InputCustom",WS_TABSTOP,50,129,71,12,WS_EX_CLIENTEDGE + CONTROL "",IDC_X,"InputCustom",WS_TABSTOP,50,130,71,12,WS_EX_CLIENTEDGE CONTROL " ",IDC_START,"InputCustom",WS_TABSTOP,161,39,71,12,WS_EX_CLIENTEDGE CONTROL " ",IDC_SELECT,"InputCustom",WS_TABSTOP,161,52,71,12,WS_EX_CLIENTEDGE CONTROL " ",IDC_L,"InputCustom",WS_TABSTOP,161,65,71,12,WS_EX_CLIENTEDGE @@ -272,10 +272,10 @@ BEGIN CONTROL " ",IDC_UPLEFT,"InputCustom",WS_DISABLED | WS_TABSTOP,161,91,71,12,WS_EX_CLIENTEDGE CONTROL " ",IDC_UPRIGHT,"InputCustom",WS_DISABLED | WS_TABSTOP,161,104,71,12,WS_EX_CLIENTEDGE CONTROL " ",IDC_DWNRIGHT,"InputCustom",WS_DISABLED | WS_TABSTOP,161,117,71,12,WS_EX_CLIENTEDGE - CONTROL " ",IDC_DWNLEFT,"InputCustom",WS_DISABLED | WS_TABSTOP,161,129,71,12,WS_EX_CLIENTEDGE - PUSHBUTTON "Cancel",IDCANCEL,288,132,36,14 - PUSHBUTTON "OK",IDOK,246,132,36,14 - LTEXT "Blue means the button is already mapped.\nPink means it conflicts with a custom hotkey.\nRed means it's reserved by Windows.\nButtons can be disabled using Escape.",IDC_LABEL_BLUE,166,0,157,32 + CONTROL " ",IDC_DWNLEFT,"InputCustom",WS_DISABLED | WS_TABSTOP,161,130,71,12,WS_EX_CLIENTEDGE + PUSHBUTTON "Cancel",IDCANCEL,276,152,48,14 + PUSHBUTTON "OK",IDOK,222,152,48,14 + LTEXT "Blue means the button is already mapped.\nPink means it conflicts with a custom hotkey.\nRed means it's reserved by Windows.\nButtons can be disabled using Escape.",IDC_LABEL_BLUE,162,0,161,32 RTEXT "UP",IDC_LABEL_UP,8,42,38,8 RTEXT "RIGHT",IDC_LABEL_RIGHT,6,81,41,8 RTEXT "LEFT",IDC_LABEL_LEFT,9,55,37,8 @@ -293,9 +293,9 @@ BEGIN RTEXT "UP RIGHT",IDC_LABEL_UPRIGHT,122,107,36,8 RTEXT "DN LEFT",IDC_LABEL_DOWNLEFT,127,132,31,8 CONTROL IDB_PAD,IDC_STATIC,"Static",SS_BITMAP,243,39,80,74 - CONTROL "Allow Left+Rt/Up+Dn",IDC_ALLOWLEFTRIGHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,243,115,87,11 + CONTROL "Allow Left+Rt/Up+Dn",IDC_ALLOWLEFTRIGHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,243,132,87,11 GROUPBOX "Controller",IDC_STATIC,5,1,142,28,0,WS_EX_TRANSPARENT - GROUPBOX "Buttons",IDC_STATIC,5,30,234,116,0,WS_EX_TRANSPARENT + GROUPBOX "Buttons",IDC_STATIC,5,30,234,118,0,WS_EX_TRANSPARENT END IDD_CHEAT_SEARCH DIALOGEX 0, 0, 276, 276 @@ -643,7 +643,7 @@ BEGIN RIGHTMARGIN, 326 VERTGUIDE, 77 VERTGUIDE, 92 - BOTTOMMARGIN, 143 + BOTTOMMARGIN, 163 HORZGUIDE, 122 END