From 802b350ec5ea2a418c6732738fc1b3f804740d38 Mon Sep 17 00:00:00 2001 From: mudlord Date: Thu, 13 Dec 2007 05:54:40 +0000 Subject: [PATCH] Fixed size of accelerator dialog --- src/win32/VBA.rc | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/win32/VBA.rc b/src/win32/VBA.rc index 2b532829..2f042592 100644 --- a/src/win32/VBA.rc +++ b/src/win32/VBA.rc @@ -634,24 +634,24 @@ BEGIN CONTROL "Automatic update",IDC_AUTO_UPDATE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,150,71,10 END -IDD_ACCEL_EDITOR DIALOG 0, 0, 280, 121 +IDD_ACCEL_EDITOR DIALOGEX 0, 0, 399, 121 STYLE DS_SETFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME CAPTION "Accelerator editor" -FONT 8, "MS Sans Serif" +FONT 8, "MS Sans Serif", 0, 0, 0x0 BEGIN - LTEXT "&Commands:",IDC_STATIC,9,9,38,8 - LISTBOX IDC_COMMANDS,9,18,100,67,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP - LTEXT "Current &Keys:",IDC_STATIC1,113,9,43,8 - LISTBOX IDC_CURRENTS,113,18,100,67,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP - DEFPUSHBUTTON "OK",ID_OK,223,9,50,14 - PUSHBUTTON "Cancel",ID_CANCEL,223,25,50,14 - LTEXT "Select &New Shortcut Key:",IDC_STATIC3,113,90,82,8 - EDITTEXT IDC_EDIT_KEY,113,102,100,12,ES_AUTOHSCROLL - PUSHBUTTON "&Assign",IDC_ASSIGN,223,70,50,14 - PUSHBUTTON "&Remove",IDC_REMOVE,223,86,50,14 - PUSHBUTTON "Re&set All",IDC_RESET,223,102,50,14 - LTEXT "Static",IDC_ALREADY_AFFECTED,9,102,100,12,SS_CENTERIMAGE - LTEXT "Currently assigned to :",IDC_STATIC2,9,90,73,10 + LTEXT "&Commands:",IDC_STATIC,7,7,38,8 + LISTBOX IDC_COMMANDS,7,18,153,67,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP + LTEXT "Current &Keys:",IDC_STATIC1,176,7,43,8 + LISTBOX IDC_CURRENTS,176,17,153,67,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP + DEFPUSHBUTTON "OK",ID_OK,342,9,50,14 + PUSHBUTTON "Cancel",ID_CANCEL,342,25,50,14 + LTEXT "Select &New Shortcut Key:",IDC_STATIC3,175,86,82,8 + EDITTEXT IDC_EDIT_KEY,176,95,100,12,ES_AUTOHSCROLL + PUSHBUTTON "&Assign",IDC_ASSIGN,342,70,50,14 + PUSHBUTTON "&Remove",IDC_REMOVE,342,86,50,14 + PUSHBUTTON "Re&set All",IDC_RESET,342,102,50,14 + LTEXT "Static",IDC_ALREADY_AFFECTED,7,96,105,9,SS_CENTERIMAGE + LTEXT "Currently assigned to :",IDC_STATIC2,7,87,73,10 END IDD_TILE_VIEWER DIALOG 0, 0, 326, 266 @@ -1298,7 +1298,7 @@ BEGIN IDD_ACCEL_EDITOR, DIALOG BEGIN LEFTMARGIN, 7 - RIGHTMARGIN, 273 + RIGHTMARGIN, 392 TOPMARGIN, 7 BOTTOMMARGIN, 114 END