BListView: Fix missing update for list items.hrev50780
commit078b08e4edc6911cd7515980d372686590815bbd
authorRene Gollent <rene@gollent.com>
Wed, 21 Dec 2016 03:33:26 +0000 (20 22:33 -0500)
committerRene Gollent <rene@gollent.com>
Wed, 21 Dec 2016 03:33:26 +0000 (20 22:33 -0500)
tree5b229b65c672facad1b0c16fd7e9ee991dcdf5b1
parenta835815beb2ec4ed9ae9c41ea7408279fbdd44fa
BListView: Fix missing update for list items.

- According to the Be Book, one of BListItem::Update()'s responsibilities
  is updating the item's internal height/width. However, while we were
  providing such updates in the case of the item initially being added
  to the view, or when the list view's font was changed, we were not doing
  so on frame resize. This would lead to items having a stale width field
  in such a circumstance, leading to possibly incorrect behavior in apps
  relying on that field to be correct.
src/kits/interface/ListView.cpp