From aa68c2872c3a8a43751d7fa13926af959dfc7cfb Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 22 Feb 2017 06:56:43 +0000 Subject: [PATCH] Pageant and PuTTYgen About boxes: enlarge to modern size. The current About boxes are too small to fit in all the buildinfo data, in particular the source-control commit id. Apparently I forgot to enlarge them when I enlarged the one in PuTTY proper. (All the same information is nonetheless *present* in the box, but there seems to be no way to scroll a static text control, so you can only find that out by 'Select All' and copying to the clipboard.) Anyway. Now resized to the same dimensions as the main PuTTY About box. (Really I should centralise more definitions into a common resource file, but there we go.) --- windows/pageant.rc | 8 ++++---- windows/puttygen.rc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/windows/pageant.rc b/windows/pageant.rc index b1756a64..b7ec81e0 100644 --- a/windows/pageant.rc +++ b/windows/pageant.rc @@ -36,14 +36,14 @@ BEGIN END /* Accelerators used: cl */ -213 DIALOG DISCARDABLE 140, 40, 214, 90 +213 DIALOG DISCARDABLE 140, 40, 270, 106 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "About Pageant" FONT 8, "MS Shell Dlg" BEGIN - DEFPUSHBUTTON "&Close", IDOK, 160, 72, 48, 14 - PUSHBUTTON "View &Licence", 101, 6, 72, 70, 14 - EDITTEXT 1000, 10, 6, 194, 64, ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE + DEFPUSHBUTTON "&Close", IDOK, 216, 88, 48, 14 + PUSHBUTTON "View &Licence", 101, 6, 88, 70, 14 + EDITTEXT 1000, 10, 6, 250, 80, ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE END /* No accelerators used */ diff --git a/windows/puttygen.rc b/windows/puttygen.rc index cd4072ea..9a259da5 100644 --- a/windows/puttygen.rc +++ b/windows/puttygen.rc @@ -29,14 +29,14 @@ BEGIN END /* Accelerators used: cl */ -213 DIALOG DISCARDABLE 140, 40, 214, 90 +213 DIALOG DISCARDABLE 140, 40, 270, 106 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "About PuTTYgen" FONT 8, "MS Shell Dlg" BEGIN - DEFPUSHBUTTON "&Close", IDOK, 160, 72, 48, 14 - PUSHBUTTON "View &Licence", 101, 6, 72, 70, 14 - EDITTEXT 1000, 10, 6, 194, 64, ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE + DEFPUSHBUTTON "&Close", IDOK, 216, 88, 48, 14 + PUSHBUTTON "View &Licence", 101, 6, 88, 70, 14 + EDITTEXT 1000, 10, 6, 250, 80, ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE END /* No accelerators used */ -- 2.45.1