mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-20 12:38:06 -05:00
Jacob's fix to the resize-behaviour GUI
[originally from svn r1407]
This commit is contained in:
parent
d9f7fc44bc
commit
8d299e69bd
10
windlg.c
10
windlg.c
@ -1048,7 +1048,7 @@ static void create_controls(HWND hwnd, int dlgtype, int panel)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (panel == windowpanelstart) {
|
if (panel == windowpanelstart) {
|
||||||
/* The Window panel. Accelerators used: [acgo] rmznb sdikp w4ylt f */
|
/* The Window panel. Accelerators used: [acgo] rmz sdikp w4ylt f */
|
||||||
struct ctlpos cp;
|
struct ctlpos cp;
|
||||||
ctlposinit(&cp, hwnd, 80, 3, 13);
|
ctlposinit(&cp, hwnd, 80, 3, 13);
|
||||||
bartitle(&cp, "Options controlling PuTTY's window",
|
bartitle(&cp, "Options controlling PuTTY's window",
|
||||||
@ -1057,10 +1057,10 @@ static void create_controls(HWND hwnd, int dlgtype, int panel)
|
|||||||
multiedit(&cp,
|
multiedit(&cp,
|
||||||
"&Rows", IDC_ROWSSTATIC, IDC_ROWSEDIT, 50,
|
"&Rows", IDC_ROWSSTATIC, IDC_ROWSEDIT, 50,
|
||||||
"Colu&mns", IDC_COLSSTATIC, IDC_COLSEDIT, 50, NULL);
|
"Colu&mns", IDC_COLSSTATIC, IDC_COLSEDIT, 50, NULL);
|
||||||
radioline(&cp, "Action when the window is resized:", IDC_RESIZESTATIC,
|
radioline(&cp, "When window is resi&zed, change:", IDC_RESIZESTATIC,
|
||||||
3, "Resi&ze terminal", IDC_RESIZETERM,
|
3, "Terminal size", IDC_RESIZETERM,
|
||||||
"Change fo&nt", IDC_RESIZEFONT,
|
"Font size", IDC_RESIZEFONT,
|
||||||
"For&bid resizing", IDC_RESIZENONE, NULL);
|
"Forbid resize", IDC_RESIZENONE, NULL);
|
||||||
endbox(&cp);
|
endbox(&cp);
|
||||||
beginbox(&cp, "Control the scrollback in the window",
|
beginbox(&cp, "Control the scrollback in the window",
|
||||||
IDC_BOX_WINDOW2);
|
IDC_BOX_WINDOW2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user