Commit 13dabf5e92f785a63af7d9a640c3cb9ce3133f23

Authored by Adeel Kazmi
1 parent c53ae917

(AnimatedImages) Changed the fitting mode as the default has changed

Change-Id: Ifc672440be5f44a055e0ec8fddd4a9005bc8e5d4
examples/animated-images/animated-images-example.cpp
1 1 /*
2   - * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  2 + * Copyright (c) 2022 Samsung Electronics Co., Ltd.
3 3 *
4 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 5 * you may not use this file except in compliance with the License.
... ... @@ -19,6 +19,7 @@
19 19 #include <dali-toolkit/devel-api/controls/control-devel.h>
20 20 #include <dali-toolkit/devel-api/controls/table-view/table-view.h>
21 21 #include <dali-toolkit/devel-api/visuals/animated-image-visual-actions-devel.h>
  22 +#include <dali-toolkit/devel-api/visuals/visual-properties-devel.h>
22 23  
23 24 using namespace Dali;
24 25 using namespace Dali::Toolkit;
... ... @@ -338,6 +339,7 @@ private:
338 339 }
339 340 map.Add(Toolkit::ImageVisual::Property::URL, Property::Value(frameUrls));
340 341 }
  342 + map.Add(DevelVisual::Property::VISUAL_FITTING_MODE, DevelVisual::FIT_KEEP_ASPECT_RATIO);
341 343 }
342 344  
343 345 /**
... ...