aboutsummaryrefslogtreecommitdiff
path: root/test/dw_lists.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_lists.cc')
-rw-r--r--test/dw_lists.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_lists.cc b/test/dw_lists.cc
index 12fa1627..64b66828 100644
--- a/test/dw_lists.cc
+++ b/test/dw_lists.cc
@@ -63,7 +63,7 @@ int main(int argc, char **argv)
Style *widgetStyle = Style::create (layout, &styleAttrs);
- Textblock *textblock = new Textblock (false);
+ Textblock *textblock = new Textblock (false, 100);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);
@@ -103,7 +103,7 @@ int main(int argc, char **argv)
ListItem *refItem = NULL;
for(int i = 1; i <= 100; i++) {
- ListItem *listItem = new ListItem (refItem, false);
+ ListItem *listItem = new ListItem (refItem, false, 100);
refItem = listItem;
textblock->addWidget (listItem, itemStyle);