[Tizen] Do not substarct outline width in text-controller
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 9 Jul 2018 05:13:11 +0000 (14:13 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 9 Jul 2018 05:13:24 +0000 (14:13 +0900)
This reverts commit fd93b5cc912204d4ba27e0c6aec40e230541b6b8.

Change-Id: I5b16f0dadbb38af026a32c5fd0469b7d8c859192

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

index 7192281..a2f0db2 100755 (executable)
@@ -3512,8 +3512,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(),