[Tizen] Do not substarct outline width in text-controller
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 10 Sep 2018 02:45:35 +0000 (11:45 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 10 Sep 2018 02:45:42 +0000 (11:45 +0900)
Change-Id: I0da2b4beb5c215ca9e2e90cff9855b4d2fb1b489

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(),