diff options
author | Dave Davenport <qball@gmpclient.org> | 2020-07-05 11:41:04 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2020-07-05 11:41:04 +0200 |
commit | fc0ea0b22e0ed1b8e2b76469e4582182e45109d3 (patch) | |
tree | 86086d0fac7899642794b29bcb6cd1caa09a94f5 /source/widgets | |
parent | d6ac2f0f5b29ce720473d1aef37ad3b80adf1067 (diff) |
Update changelog a bit.
Diffstat (limited to 'source/widgets')
-rw-r--r-- | source/widgets/listview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/widgets/listview.c b/source/widgets/listview.c index 0650cccc..863e2b77 100644 --- a/source/widgets/listview.c +++ b/source/widgets/listview.c @@ -328,7 +328,7 @@ static void barview_draw ( widget *wid, cairo_t *draw ) if ( lv->barview.direction == LEFT_TO_RIGHT ) { for ( unsigned int i = 0; i < max && width > 0; i++ ) { update_element ( lv, i, i + offset, TRUE ); - int twidth = widget_get_desired_width ( lv->boxes[i].box );//textbox_get_desired_width ( WIDGET ( lv->boxes[i].textbox ) ); + int twidth = widget_get_desired_width ( WIDGET ( lv->boxes[i].box ) ); if ( twidth >= width ) { if ( !first ) { break; @@ -348,7 +348,7 @@ static void barview_draw ( widget *wid, cairo_t *draw ) else { for ( unsigned int i = 0; i < lv->cur_elements && width > 0 && i <= offset; i++ ) { update_element ( lv, i, offset - i, TRUE ); - int twidth = widget_get_desired_width ( lv->boxes[i].box );// int twidth = textbox_get_desired_width ( WIDGET ( lv->boxes[i].textbox ) ); + int twidth = widget_get_desired_width ( WIDGET ( lv->boxes[i].box ) ); if ( twidth >= width ) { if ( !first ) { break; |