mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 23:28:06 -05:00
Fix layout overflow in Windows PuTTYgen due to ED25519.
Adding an extra radio button to the key-type selector caused it to wrap on to another line and push the bottom of the containing control box down off the bottom of the window. In the long term, should more public key formats continue to appear, we'll probably have to replace the radio buttons with something more extensible like a drop-down list. For the moment, though, I've fixed it by just reducing the space per radio button to bring all five controls back on to the same line. To fit the text into the smaller space, I also removed the 'SSH-2' prefix on each key type, which ought to be unnecessary these days since SSH-2 is a well established default. Only the SSH-1 RSA key type is still labelled with an SSH version. (And I've moved it to the far end rather than the start of the line, while I'm here.)
This commit is contained in:
parent
ef3959992e
commit
8423f79e32
@ -925,12 +925,13 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg,
|
||||
"&Save private key", IDC_SAVE);
|
||||
endbox(&cp);
|
||||
beginbox(&cp, "Parameters", IDC_BOX_PARAMS);
|
||||
radioline(&cp, "Type of key to generate:", IDC_TYPESTATIC, 4,
|
||||
radioline(&cp, "Type of key to generate:", IDC_TYPESTATIC, 5,
|
||||
"&RSA", IDC_KEYSSH2RSA,
|
||||
"&DSA", IDC_KEYSSH2DSA,
|
||||
"&ECDSA", IDC_KEYSSH2ECDSA,
|
||||
"ED&25519", IDC_KEYSSH2ED25519,
|
||||
"SSH-&1 (RSA)", IDC_KEYSSH1,
|
||||
"SSH-2 &RSA", IDC_KEYSSH2RSA,
|
||||
"SSH-2 &DSA", IDC_KEYSSH2DSA,
|
||||
"SSH-2 &ECDSA", IDC_KEYSSH2ECDSA,
|
||||
"SSH-2 ED&25519", IDC_KEYSSH2ED25519, NULL);
|
||||
NULL);
|
||||
staticedit(&cp, "Number of &bits in a generated key:",
|
||||
IDC_BITSSTATIC, IDC_BITS, 20);
|
||||
endbox(&cp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user