Apply fittingMode lazy when resource is not ready 43/297443/2
authorsunghyun kim <scholb.kim@samsung.com>
Fri, 18 Aug 2023 08:14:21 +0000 (17:14 +0900)
committersunghyun kim <scholb.kim@samsung.com>
Wed, 6 Sep 2023 08:33:04 +0000 (17:33 +0900)
commit08c00745e3c0f9930a48a5a07e6bf5441edafaab
treedc73a46892a5373828de5a0f8aa0d90ea689bde9
parente8605599219061aeff815cec4f7332718619946a
Apply fittingMode lazy when resource is not ready

FittingMode may not work properly if ResourceReady is called later than Relayout.
to prevent this, modify to apply FittingMode late if Resource is not ready

Change-Id: Idb0c572a9aa034cea25f563ffbc256ad8eacacda
automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp
dali-toolkit/internal/controls/image-view/image-view-impl.cpp
dali-toolkit/internal/controls/image-view/image-view-impl.h