From 1e54452e276818eb0710853eac12390b36b31821 Mon Sep 17 00:00:00 2001 From: Agnelo Vaz Date: Tue, 10 Jul 2018 10:30:18 +0100 Subject: [PATCH] ImageView Relayout after ResourceReady Change-Id: I81177df0b26eb8d4108e587724bd35e8d2e1c51e --- dali-toolkit/internal/controls/image-view/image-view-impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dali-toolkit/internal/controls/image-view/image-view-impl.cpp b/dali-toolkit/internal/controls/image-view/image-view-impl.cpp index f709559..6725bfb 100755 --- a/dali-toolkit/internal/controls/image-view/image-view-impl.cpp +++ b/dali-toolkit/internal/controls/image-view/image-view-impl.cpp @@ -324,6 +324,7 @@ void ImageView::OnResourceReady( Toolkit::Control control ) { // Visual ready so update visual attached to this ImageView, following call to RelayoutRequest will use this visual. mVisual = DevelControl::GetVisual( *this, Toolkit::ImageView::Property::IMAGE ); + Toolkit::DevelControl::RequestLayout( *this ); } /////////////////////////////////////////////////////////// -- 2.7.4