Use layout-friendly constructor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21428 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8000c5e973
commit
44ca72c8ca
@ -11,11 +11,11 @@
|
||||
|
||||
ListViewTest::ListViewTest()
|
||||
: Test("ListView", NULL),
|
||||
fListView(new BListView(BRect(0, 0, -1, -1), NULL))
|
||||
fListView(new BListView())
|
||||
{
|
||||
SetView(fListView);
|
||||
|
||||
// add a view items
|
||||
// add a few items
|
||||
for (int32 i = 0; i < 15; i++) {
|
||||
BString itemText("list item ");
|
||||
itemText << i;
|
||||
|
Loading…
Reference in New Issue
Block a user