From 56a07fbab9bdabc562d88706067ce53f7025a660 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Sun, 24 Jul 2016 17:27:26 -0600 Subject: menuselect: Various menuselect enhancements * Add 'external' as a support level. * Add ability for module directories to add entries to the menu by adding members to the /.xml file. * Expand the description field to 3 lines in the ncurses implementation. * Allow the description field to wrap in the newt implementation. * Add description field to the gtk implementation. Change-Id: I7f9600a1984a42ce0696db574c1051bc9ad7c808 (cherry picked from commit 90f445729d5d86050d9d379485ff0a99f4a006c1) --- menuselect/menuselect_newt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'menuselect/menuselect_newt.c') diff --git a/menuselect/menuselect_newt.c b/menuselect/menuselect_newt.c index fca558781..bc03f9b1b 100644 --- a/menuselect/menuselect_newt.c +++ b/menuselect/menuselect_newt.c @@ -326,7 +326,7 @@ int run_menu(void) newtFormAddComponent(form, subOptions); newtComponentAddCallback(subOptions, category_menu_callback, NULL); - memberNameTextbox = newtTextbox(2, y - 13, x - 10, 1, 0); + memberNameTextbox = newtTextbox(2, y - 13, x - 10, 2, NEWT_FLAG_WRAP); dependsLabel = newtLabel(2, y - 11, " Depends on:"); usesLabel = newtLabel(2, y - 10, " Can use:"); conflictsLabel = newtLabel(2, y - 9, "Conflicts with:"); -- cgit v1.2.3