Stephan Assmus wrote:
Oops, my apologies then, I misunderstood the comment. The problem is that the automatic sizing of the views/windows is horribly broken with the previous implementation....<snip>If GetPreferredSize() looks at the content and reports different sizes, we are back to the broken behavior, which the above tried to fix. In another words, MinSize() and PreferredSize() need to return stable sizes, at least until InvalidateLayout() has been called. I don't believe you want to call InvalidateLayout() on each item operation in a BListView.
Is there an easy way of reproducing the problem you describe here? Also, is there a workaround for apps using BListView's with the new layouting API?
HTH, Ithamar.