* Revert my changes to BListView for now

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36758 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ithamar R. Adema 2010-05-08 20:59:14 +00:00
parent 015cd734f0
commit a40ec7c51a

View File

@ -616,7 +616,9 @@ BListView::GetPreferredSize(float* _width, float* _height)
BSize
BListView::MinSize()
{
return BView::MinSize();
// We need a stable min size: the BView implementation uses
// GetPreferredSize(), which by default just returns the current size.
return BLayoutUtils::ComposeSize(ExplicitMinSize(), BSize(10, 10));
}
@ -630,7 +632,9 @@ BListView::MaxSize()
BSize
BListView::PreferredSize()
{
return BView::PreferredSize();
// We need a stable preferred size: the BView implementation uses
// GetPreferredSize(), which by default just returns the current size.
return BLayoutUtils::ComposeSize(ExplicitPreferredSize(), BSize(100, 50));
}