[View] Added textboxes are set to autoheight and wrapping.

Fixes: #754
This commit is contained in:
Dave Davenport 2018-01-14 11:47:04 +01:00
parent 5ab0a642c9
commit 7ad3ce25b1
1 changed files with 1 additions and 1 deletions

View File

@ -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 {