From: H.G. Muller Date: Sun, 5 Dec 2010 13:04:46 +0000 (+0100) Subject: Resize buttons in WB engine-settings dialog X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=0ebdcc463b6a0f21b2e7f1975e22738ad31e4e4c;p=xboard.git 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. --- 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