diff options
author | Sebastian Geerken <devnull@localhost> | 2012-11-08 14:54:19 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-11-08 14:54:19 +0100 |
commit | 9c77c6d76e25394517d371e070d13b54ab7858d8 (patch) | |
tree | 6dfe12eb0f5722e5f5c424f1ed0396b516ce4de1 /test/dw_ui_test.cc | |
parent | 2f9834507ff751f177c6fa218cc5849107a61aa8 (diff) |
Making hyphen penalties configurable.
Diffstat (limited to 'test/dw_ui_test.cc')
-rw-r--r-- | test/dw_ui_test.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/dw_ui_test.cc b/test/dw_ui_test.cc index 60893f06..ee024acc 100644 --- a/test/dw_ui_test.cc +++ b/test/dw_ui_test.cc @@ -104,7 +104,7 @@ int main(int argc, char **argv) // Note on complex buttons: before any operations on the widget, which // need a layout, the complex button resource should be created, since // then, a layout and a platform are instantiated. - Textblock *cbuttontext = new Textblock(false); + Textblock *cbuttontext = new Textblock(false, 100); ComplexButtonResource *cbuttonres = layout->getResourceFactory()->createComplexButtonResource (cbuttontext, true); @@ -131,7 +131,7 @@ int main(int argc, char **argv) // Create the widgets. table->addRow (cellStyle); - Textblock *label1 = new Textblock(false); + Textblock *label1 = new Textblock(false, 100); label1->setStyle (cellStyle); table->addCell (label1, 1, 1); label1->addText ("val1 = ", cellStyle); @@ -143,7 +143,7 @@ int main(int argc, char **argv) table->addRow (cellStyle); - Textblock *label2 = new Textblock(false); + Textblock *label2 = new Textblock(false, 100); label2->setStyle (cellStyle); table->addCell (label2, 1, 1); label2->addText ("val2 = ", cellStyle); @@ -155,7 +155,7 @@ int main(int argc, char **argv) table->addRow (cellStyle); - Textblock *label = new Textblock(false); + Textblock *label = new Textblock(false, 100); label->setStyle (cellStyle); table->addCell (label, 1, 1); label->addText ("text = ", cellStyle); @@ -168,7 +168,7 @@ int main(int argc, char **argv) table->addRow (cellStyle); - Textblock *radiolabel1 = new Textblock(false); + Textblock *radiolabel1 = new Textblock(false, 100); radiolabel1->setStyle (cellStyle); table->addCell (radiolabel1, 2, 1); Embed *radio1 = new Embed (radiores1); @@ -177,7 +177,7 @@ int main(int argc, char **argv) radiolabel1->flush (); table->addRow (cellStyle); - Textblock *radiolabel2 = new Textblock(false); + Textblock *radiolabel2 = new Textblock(false, 100); radiolabel2->setStyle (cellStyle); table->addCell (radiolabel2, 2, 1); Embed *radio2 = new Embed (radiores2); @@ -186,7 +186,7 @@ int main(int argc, char **argv) radiolabel2->flush (); table->addRow (cellStyle); - Textblock *checklabel = new Textblock(false); + Textblock *checklabel = new Textblock(false, 100); checklabel->setStyle (cellStyle); table->addCell (checklabel, 2, 1); Embed *check = new Embed (checkres); |