From 0ebdcc463b6a0f21b2e7f1975e22738ad31e4e4c Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 5 Dec 2010 14:04:46 +0100 Subject: [PATCH] Resize buttons in WB engine-settings dialog The OK and cancel buttons were to narrow for most translations, and were a non-standard order as well. --- winboard/wsettings.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/winboard/wsettings.c b/winboard/wsettings.c index 643de2a..ccfae75 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -521,8 +521,8 @@ CreateDialogTemplate(int *layoutList, int nr, ChessProgramState *cps) // add butons at the bottom of dialog window y += 13*(nr>>1)+5; - AddControl(x+275, y+18*(buttonRows-1), 25, 15, 0x0080, BS_PUSHBUTTON | WS_VISIBLE | WS_CHILD, IDOK-2000); - AddControl(x+235, y+18*(buttonRows-1), 35, 15, 0x0080, BS_PUSHBUTTON | WS_VISIBLE | WS_CHILD, IDCANCEL-2000); + AddControl(x+225, y+18*(buttonRows-1), 30, 15, 0x0080, BS_PUSHBUTTON | WS_VISIBLE | WS_CHILD, IDOK-2000); + AddControl(x+260, y+18*(buttonRows-1), 40, 15, 0x0080, BS_PUSHBUTTON | WS_VISIBLE | WS_CHILD, IDCANCEL-2000); for(i=0; i