aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-08-23 21:09:53 +0000
committercorvid <corvid@lavabit.com>2011-08-23 21:09:53 +0000
commitf1a192d6c0a72ef3c85e2d9f3c1562ce85d02f0c (patch)
treead5823a7f96530b06ef117fbd197448bd7f11e0d /test
parent97ef715327e5f3d0ab8fce503628028b8e3077c2 (diff)
test: smaller image to preserve clipping
Diffstat (limited to 'test')
-rw-r--r--test/dw_images_scaled2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_images_scaled2.cc b/test/dw_images_scaled2.cc
index b436ec94..2adb1770 100644
--- a/test/dw_images_scaled2.cc
+++ b/test/dw_images_scaled2.cc
@@ -115,8 +115,8 @@ int main(int argc, char **argv)
styleAttrs.setBorderStyle (BORDER_SOLID);
styleAttrs.padding.setVal (1);
styleAttrs.backgroundColor = NULL;
- styleAttrs.width = createPerLength (0.5);
- styleAttrs.height = createPerLength (0.5);
+ styleAttrs.width = createPerLength (0.25);
+ styleAttrs.height = createPerLength (0.25);
Style *imageStyle1 = Style::create (layout, &styleAttrs);
image1 = new dw::Image ("A longer ALT Text to demonstrate clipping.");