From e52455b1fd4e5a129cebe653a777b1f421b18b4f Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 30 Oct 2001 22:12:49 +0000 Subject: [PATCH] Shrink the PuTTYgen window for 640x480 friendliness (thanks Jacob) git-svn-id: svn://svn.tartarus.org/sgt/putty@1348 cda61777-01e9-0310-a592-d414129be87e --- puttygen.c | 4 ++-- puttygen.rc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/puttygen.c b/puttygen.c index 8a5c3c99..6d134c43 100644 --- a/puttygen.c +++ b/puttygen.c @@ -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); diff --git a/puttygen.rc b/puttygen.rc index 39e142b1..a6d07ec5 100644 --- a/puttygen.rc +++ b/puttygen.rc @@ -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" -- 2.11.0