diff options
author | Sebastian Geerken <devnull@localhost> | 2013-09-13 20:03:26 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-09-13 20:03:26 +0200 |
commit | e0162c58c6b8d427bdb66023104cb65cee5177f0 (patch) | |
tree | faa355267f9ca77636c8e21e9e04dcf9ea791da6 /test | |
parent | 196446a333575404057077a07d7c3673a941cce9 (diff) |
Some more tests.
Diffstat (limited to 'test')
-rw-r--r-- | test/dw_image_background.cc | 3 |
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); |