diff options
-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); |