diff --git a/examples/styling/image-channel-control-impl.cpp b/examples/styling/image-channel-control-impl.cpp index 0d19830..1b3c9e1 100644 --- a/examples/styling/image-channel-control-impl.cpp +++ b/examples/styling/image-channel-control-impl.cpp @@ -234,7 +234,8 @@ void ImageChannelControl::SetProperty( BaseObject* object, Property::Index index Property::Map* map = value.GetMap(); if( map ) { - Dali::Toolkit::InitializeVisual( self, impl.mVisual, *map ); + impl.mVisual = Toolkit::VisualFactory::Get().CreateVisual( *map ); + impl.RegisterVisual( Demo::ImageChannelControl::Property::IMAGE_VISUAL, impl.mVisual ); } break; } diff --git a/resources/style/style-example-theme-two.json.in b/resources/style/style-example-theme-two.json.in index 9a99988..f5b194d 100644 --- a/resources/style/style-example-theme-two.json.in +++ b/resources/style/style-example-theme-two.json.in @@ -111,6 +111,11 @@ "delay":0 } } + }, + { + "target":"imageVisual", + "property":"scale", + "targetValue":[1,1,1] } ], "disableVisibilityTransition":