From 7ad3ce25b16947930e26fdd115d7526fb6397dc9 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sun, 14 Jan 2018 11:47:04 +0100 Subject: [PATCH] [View] Added textboxes are set to autoheight and wrapping. Fixes: #754 --- source/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/view.c b/source/view.c index 8ba6b699..1dba430c 100644 --- a/source/view.c +++ b/source/view.c @@ -1634,7 +1634,7 @@ static void rofi_view_add_widget ( RofiViewState *state, widget *parent_widget, } } else if ( g_ascii_strncasecmp ( name, "textbox", 7 ) == 0 ) { - textbox *t = textbox_create ( parent_widget, WIDGET_TYPE_TEXTBOX_TEXT, name, TB_WRAP, NORMAL, "", 0, 0 ); + textbox *t = textbox_create ( parent_widget, WIDGET_TYPE_TEXTBOX_TEXT, name, TB_AUTOHEIGHT | TB_WRAP, NORMAL, "", 0, 0 ); box_add ( (box *) parent_widget, WIDGET ( t ), TRUE ); } else {