From: Paul Wisbey
Date: Fri, 19 Jun 2015 16:41:03 +0000 (+0100)
Subject: Fix for resizing TextField when Delete button is added
X-Git-Tag: dali_1.0.46~10
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F42000%2F2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git
Fix for resizing TextField when Delete button is added
Change-Id: Icc9eeb9414f1b6ca32a5870c045f1850b3dea8a8
---
diff --git a/dali-toolkit/internal/text/clipping/text-clipper.cpp b/dali-toolkit/internal/text/clipping/text-clipper.cpp
index 8b0f77f..e9c6e8f 100644
--- a/dali-toolkit/internal/text/clipping/text-clipper.cpp
+++ b/dali-toolkit/internal/text/clipping/text-clipper.cpp
@@ -79,6 +79,8 @@ void Clipper::Refresh( const Vector2& size )
offscreenSize.height,
Pixel::RGBA8888 );
+ mOffscreenRootActor.SetSize( size );
+
mImageActor.SetSize( offscreenSize );
mImageActor.SetImage( frameBufferImage );
mRenderTask.SetTargetFrameBuffer( frameBufferImage );