Revert "[3.0] TextEditor - Update the decoration box's size." 21/97821/1
authordongsug.song <dongsug.song@samsung.com>
Tue, 15 Nov 2016 05:28:38 +0000 (14:28 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 15 Nov 2016 05:28:42 +0000 (14:28 +0900)
This reverts commit fbfb38ceb9f2872c8a92e2e77a08a0d7d8f53ad2.

Change-Id: Ia790e3b03117d7ba18e9aeddb26060d13cc68136

examples/text-editor/text-editor-example.cpp

index eb83eec..5ec61b7 100644 (file)
@@ -131,13 +131,6 @@ public:
 
     mEditor.SetBackgroundColor( TEXT_EDITOR_BACKGROUND_COLOR );
 
-    const Size boundingBoxSize( stageSize * TEXT_EDITOR_RELATIVE_SIZE.GetVectorXY() );
-    Rect<int> boundingBox( 0,
-                           static_cast<int>( toolBarHeight ),
-                           static_cast<int>( boundingBoxSize.width ),
-                           static_cast<int>( boundingBoxSize.height - toolBarHeight ) );
-
-    mEditor.SetProperty( TextEditor::Property::DECORATION_BOUNDING_BOX, boundingBox );
     mEditor.SetProperty( TextEditor::Property::TEXT_COLOR, Color::BLACK );
     mEditor.SetProperty( TextEditor::Property::TEXT,
                          "Lorem ipsum dolor sit amet, aeque definiebas ea mei, posse iracundia ne cum.\n"