diff options
author | Dave Davenport <qball@gmpclient.org> | 2018-01-14 11:47:04 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2018-01-14 11:47:04 +0100 |
commit | 7ad3ce25b16947930e26fdd115d7526fb6397dc9 (patch) | |
tree | d9956de989913dffa8aa606f4ba13976be22f8f1 | |
parent | 5ab0a642c96b447bbe9ae099f8a52a49fc34970d (diff) |
[View] Added textboxes are set to autoheight and wrapping.
Fixes: #754
-rw-r--r-- | source/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |