From: H.G.Muller Date: Thu, 21 Apr 2016 17:09:00 +0000 (+0200) Subject: Make EditTags dialog non-wrapping X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=71f9aa1de592bfa0964e25322122513b9107b4d4;hp=439b2edcbe1c2108c6d4c4ec3db5be04dbf92a0a Make EditTags dialog non-wrapping As the data edited with this dialog (PGN tags, engine list, theme list, book moves, ICS menu definition) is always tabular, wrapping the lines is just confusing, and it is better to have an automatic hscroll in case the lines are too long to fit. --- diff --git a/dialogs.c b/dialogs.c index 7885f11..d3b333e 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1226,7 +1226,7 @@ NewMove () Option tagsOptions[] = { { 0, 0, 0, NULL, NULL, NULL, NULL, Label, NULL }, -{ 200, T_VSCRL | T_FILL | T_WRAP | T_TOP, 200, NULL, (void*) &tagsText, NULL, (char **) &TagsClick, TextBox, "", &appData.tagsFont }, +{ 200, T_VSCRL | T_FILL | T_TOP, 200, NULL, (void*) &tagsText, NULL, (char **) &TagsClick, TextBox, "", &appData.tagsFont }, { 0, 0, 100, NULL, (void*) &NewMove, NULL, NULL, Button, N_("add next move") }, { 0,SAME_ROW,100,NULL, (void*) &changeTags, NULL, NULL, Button, N_("commit changes") }, { 0,SAME_ROW, 0, NULL, (void*) &NewTagsCallback, "", NULL, EndMark , "" }