From 37121bfbe22fe925a913d0af97d8bff9858840db Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 14 Nov 2019 13:01:49 +0100 Subject: [ListView] Fix right-to-left scrolling in bar-view. Issue: #1028 --- source/widgets/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/widgets/listview.c b/source/widgets/listview.c index 7609bb11..0deb0938 100644 --- a/source/widgets/listview.c +++ b/source/widgets/listview.c @@ -334,7 +334,7 @@ static void barview_draw ( widget *wid, cairo_t *draw ) twidth = width; } right_offset -= twidth; - widget_move ( WIDGET(lv->boxes[i].box), left_offset, top_offset); + widget_move ( WIDGET(lv->boxes[i].box), right_offset, top_offset); widget_resize ( WIDGET (lv->boxes[i].box), twidth, lv->element_height); widget_draw ( WIDGET ( lv->boxes[i].box ), draw ); -- cgit v1.2.3