summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-11-14 13:01:49 +0100
committerDave Davenport <qball@gmpclient.org>2019-11-14 13:01:49 +0100
commit37121bfbe22fe925a913d0af97d8bff9858840db (patch)
tree9cef34d47278702fe9f7c3ede66b1f5013a884c7
parenteb5c4bfdcc1536d7b4e256b56603f9389037ee55 (diff)
[ListView] Fix right-to-left scrolling in bar-view.
Issue: #1028
-rw-r--r--source/widgets/listview.c2
1 files changed, 1 insertions, 1 deletions
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 );