diff options
author | Stijn Buys <ingar@osirion.org> | 2012-01-29 18:53:55 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-01-29 18:53:55 +0000 |
commit | bf99ce22ccb9134fb37349da5c24f3929170b748 (patch) | |
tree | 65dab18481d386effee08120320ea55abc2c090d | |
parent | 77c5c34cc13b2033afdce8ee87559cfc826fa101 (diff) |
More ui::Listview tweaks.
-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(); } } |