Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-01-29 18:53:55 +0000
committerStijn Buys <ingar@osirion.org>2012-01-29 18:53:55 +0000
commitbf99ce22ccb9134fb37349da5c24f3929170b748 (patch)
tree65dab18481d386effee08120320ea55abc2c090d /src
parent77c5c34cc13b2033afdce8ee87559cfc826fa101 (diff)
More ui::Listview tweaks.
Diffstat (limited to 'src')
-rw-r--r--src/ui/listview.cc5
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();
}
}