From: H.G.Muller Date: Tue, 14 Oct 2014 07:38:05 +0000 (+0200) Subject: Split Tournament dialog in side-by-side panes X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=95aa8bd94187bc9165df77bd002dde7880649b12 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. --- 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):") },