]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Shrink the PuTTYgen window for 640x480 friendliness (thanks Jacob)
authorSimon Tatham <anakin@pobox.com>
Tue, 30 Oct 2001 22:12:49 +0000 (22:12 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 30 Oct 2001 22:12:49 +0000 (22:12 +0000)
[originally from svn r1348]

puttygen.c
puttygen.rc

index 8a5c3c99babdce0d9ca09018fd5332d18c64cb58..6d134c43f17e8398603b564cbfe9fcdcfc31da49 100644 (file)
@@ -519,7 +519,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg,
 
            /* Accelerators used: acglops1rbd */
 
-           ctlposinit(&cp, hwnd, 10, 10, 10);
+           ctlposinit(&cp, hwnd, 4, 4, 4);
            bartitle(&cp, "Public and private key generation for PuTTY",
                     IDC_TITLE);
            beginbox(&cp, "Key", IDC_BOX_KEY);
@@ -530,7 +530,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg,
            progressbar(&cp2, IDC_PROGRESS);
            bigeditctrl(&cp,
                        "&Public key for pasting into authorized_keys file:",
-                       IDC_PKSTATIC, IDC_KEYDISPLAY, 7);
+                       IDC_PKSTATIC, IDC_KEYDISPLAY, 5);
            SendDlgItemMessage(hwnd, IDC_KEYDISPLAY, EM_SETREADONLY, 1, 0);
            staticedit(&cp, "Key fingerprint:", IDC_FPSTATIC,
                       IDC_FINGERPRINT, 75);
index 39e142b13e9614a41a8d52a07279e988f86cf51b..a6d07ec50303db7906bb9920e5162401731ae9a1 100644 (file)
@@ -5,7 +5,7 @@
 
 200 ICON "puttygen.ico"
 
-201 DIALOG DISCARDABLE 0, 0, 330, 296
+201 DIALOG DISCARDABLE 0, 0, 318, 270
 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
 CAPTION "PuTTY Key Generator"
 FONT 8, "MS Sans Serif"