aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-09-13 20:03:26 +0200
committerSebastian Geerken <devnull@localhost>2013-09-13 20:03:26 +0200
commite0162c58c6b8d427bdb66023104cb65cee5177f0 (patch)
treefaa355267f9ca77636c8e21e9e04dcf9ea791da6
parent196446a333575404057077a07d7c3673a941cce9 (diff)
Some more tests.
-rw-r--r--test/dw_image_background.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dw_image_background.cc b/test/dw_image_background.cc
index 95264f6a..ccb59479 100644
--- a/test/dw_image_background.cc
+++ b/test/dw_image_background.cc
@@ -93,6 +93,9 @@ int main(int argc, char **argv)
styleAttrs.backgroundColor = Color::create (layout, 0xffffff);
image = styleAttrs.backgroundImage = StyleImage::create ();
+ styleAttrs.backgroundRepeat = BACKGROUND_REPEAT_Y;
+ styleAttrs.backgroundPositionX = createPerLength (0.5);
+ styleAttrs.backgroundPositionY = createAbsLength (30);
Style *widgetStyle = Style::create (&styleAttrs);