[Tizen] Do not substarct outline width in text-controller
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 17 Sep 2018 04:59:07 +0000 (13:59 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 17 Sep 2018 04:59:11 +0000 (13:59 +0900)
This reverts commit fbdbd9494ef97d68c60c9568038dac9ebe94717e.

Change-Id: If497cfd09a1f9c59a3bbe8b6c87924c20425419a

dali-toolkit/internal/text/text-controller.cpp

index 227760f..033433b 100755 (executable)
@@ -3529,8 +3529,7 @@ bool Controller::DoRelayout( const Size& size,
     const float outlineWidth = static_cast<float>( mImpl->mModel->GetOutlineWidth() );
 
     // Set the layout parameters.
-    const Vector2 sizeOffset = Vector2(outlineWidth * 2.0f, outlineWidth * 2.0f); // The outline should be fit into the bounding box
-    Layout::Parameters layoutParameters( size - sizeOffset,
+    Layout::Parameters layoutParameters( size,
                                          textBuffer,
                                          lineBreakInfo.Begin(),
                                          wordBreakInfo.Begin(),