From 82fbd7edccd47ef9e246d6437076dcbe181491d0 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 21 Oct 2012 10:14:24 +0200 Subject: [PATCH] Reserve more space for button bar In some board sizes the button bar was wider than the code guessed, so the window width would be determined by the message + buttons row rather than the board. --- dialogs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dialogs.c b/dialogs.c index d142751..5f25c5a 100644 --- a/dialogs.c +++ b/dialogs.c @@ -2096,7 +2096,7 @@ BoardPopUp (int squareSize, int lineGap, void *clockFontThingy) mainOptions[W_BOARD].max = mainOptions[W_SMALL].max = size; // board size mainOptions[W_SMALL].max = size - 2; // board title (subtract border!) mainOptions[W_BLACK].max = mainOptions[W_WHITE].max = size/2-3; // clock width - mainOptions[W_MESSG].max = appData.showButtonBar ? size-130 : size-2; // message + mainOptions[W_MESSG].max = appData.showButtonBar ? size-135 : size-2; // message mainOptions[W_MENU].max = size-40; // menu bar mainOptions[W_TITLE].type = appData.titleInWindow ? Label : -1 ; if(logo && logo <= size/4) { // Activate logos -- 1.7.0.4