aboutsummaryrefslogtreecommitdiff
path: root/test/dw_find_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_find_test.cc')
-rw-r--r--test/dw_find_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_find_test.cc b/test/dw_find_test.cc
index e5c79fd3..27817664 100644
--- a/test/dw_find_test.cc
+++ b/test/dw_find_test.cc
@@ -117,7 +117,7 @@ int main(int argc, char **argv)
styleAttrs.margin.left = 0;
Style *wordStyle = Style::create (layout, &styleAttrs);
- Textblock *textblock = new Textblock (false);
+ Textblock *textblock = new Textblock (false, 100);
textblock->setStyle (topWidgetStyle);
layout->setWidget (textblock);
@@ -128,7 +128,7 @@ int main(int argc, char **argv)
for(int j = 0; j < 10; j++) {
Textblock *current;
if(j < 5) {
- current = new Textblock (false);
+ current = new Textblock (false, 100);
stack->getTop()->addWidget (current, widgetStyle);
stack->push (current);
} else {