mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
[listview] Set ellipsize mode on creation of textbox
So if rows are added, they behave correctily. Issue: #1746
This commit is contained in:
parent
96e81d1b56
commit
c6ba962673
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ static void listview_add_widget(listview *lv, _listview_row *row, widget *wid,
|
|||
row->textbox =
|
||||
textbox_create(WIDGET(wid), WIDGET_TYPE_TEXTBOX_TEXT, "element-text",
|
||||
TB_AUTOHEIGHT | flags, NORMAL, "DDD", 0, 0);
|
||||
textbox_set_ellipsize(row->textbox, lv->emode);
|
||||
box_add((box *)wid, WIDGET(row->textbox), TRUE);
|
||||
} else if (strcasecmp(label, "element-index") == 0) {
|
||||
row->index =
|
||||
|
|
Loading…
Reference in a new issue