Modified to change the size of the widget when changing the size using animation
Change-Id: Ib1ac8ad88716759b22c94904add4922b719efe94
widget_instance_resize(mInstanceId.c_str(), size.x, size.y);
}
+void WidgetView::OnSizeAnimation( Animation& animation, const Vector3& targetSize )
+{
+ Control::OnSizeAnimation( animation, targetSize );
+ widget_instance_resize(mInstanceId.c_str(), targetSize.x, targetSize.y);
+}
+
} // namespace Internal
} // namespace WidgetView
* @copydoc Toolkit::Control::OnRelayout()
*/
virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ) override ;
+
+ /**
+ * @copydoc Toolkit::Control::OnSizeAnimation()
+ */
+ virtual void OnSizeAnimation( Animation& animation, const Vector3& targetSize ) override ;
private:
// Undefined