From 95aa8bd94187bc9165df77bd002dde7880649b12 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 14 Oct 2014 09:38:05 +0200 Subject: [PATCH] Split Tournament dialog in side-by-side panes This seems to cure a sickness in some Xaw versions, which refused to display text in the text widgets, or make them sensitive for mouse clicks if the last three buttons were added. It also helps keeping the 'OK' button on-screen in the GTK version. --- dialogs.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dialogs.c b/dialogs.c index d65e4a6..a992eee 100644 --- a/dialogs.c +++ b/dialogs.c @@ -286,11 +286,11 @@ static Option matchOptions[] = { { 0, 0, 0, NULL, (void*) &appData.cycleSync, "", NULL, CheckBox, N_("Sync after cycle") }, { 0, LR, 175, NULL, NULL, NULL, NULL, Label, N_("Tourney participants:") }, { 0, SAME_ROW|RR, 175, NULL, NULL, NULL, NULL, Label, N_("Select Engine:") }, -{ 150, T_VSCRL | T_FILL | T_WRAP, +{ 200, T_VSCRL | T_FILL | T_WRAP, 175, NULL, (void*) &engineName, NULL, NULL, TextBox, "" }, -{ 150, SAME_ROW|RR, +{ 200, SAME_ROW|RR, 175, NULL, (void*) engineMnemonic, (char*) &AddToTourney, NULL, ListBox, "" }, -{ 0, 0, 0, NULL, NULL, NULL, NULL, Break, "" }, // to decouple alignment above and below boxes +{ 0, SAME_ROW, 0, NULL, NULL, NULL, NULL, Break, "" }, // to decouple alignment above and below boxes //{ 0, COMBO_CALLBACK | NO_GETTEXT, // 0, NULL, (void*) &AddToTourney, (char*) (engineMnemonic+1), (engineMnemonic+1), ComboBox, N_("Select Engine:") }, { 0, 0, 10, NULL, (void*) &appData.tourneyType, "", NULL, Spin, N_("Tourney type (0 = round-robin, 1 = gauntlet):") }, -- 1.7.0.4