diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/listview.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/listview.cc b/src/ui/listview.cc index 9fe9b4e..185b229 100644 --- a/src/ui/listview.cc +++ b/src/ui/listview.cc @@ -82,6 +82,11 @@ void ListView::resize() listview_scrollbar->set_value(listview_scroll); listview_scrollbar->show(); } else { + for (Children::iterator it = children().begin(); it != children().end(); it++) { + if ((*it) != static_cast<Widget *>(listview_scrollbar)) { + (*it)->set_width(width()); + } + } listview_scrollbar->hide(); } } |