summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordongsug.song <dongsug.song@samsung.com>2016-11-15 14:28:38 +0900
committerdongsug.song <dongsug.song@samsung.com>2016-11-15 14:28:42 +0900
commit7c3f2d3d418706fa370524c72a62c1baeb7fcfa9 (patch)
tree703c2892854d5a1d89c6caca679da549490bb410
parentf47c608875e38904bdc6af9507e4656de2e7cb85 (diff)
downloaddali-demo-7c3f2d3d418706fa370524c72a62c1baeb7fcfa9.tar.gz
dali-demo-7c3f2d3d418706fa370524c72a62c1baeb7fcfa9.tar.bz2
dali-demo-7c3f2d3d418706fa370524c72a62c1baeb7fcfa9.zip
Revert "[3.0] TextEditor - Update the decoration box's size."
This reverts commit fbfb38ceb9f2872c8a92e2e77a08a0d7d8f53ad2. Change-Id: Ia790e3b03117d7ba18e9aeddb26060d13cc68136
-rw-r--r--examples/text-editor/text-editor-example.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/text-editor/text-editor-example.cpp b/examples/text-editor/text-editor-example.cpp
index eb83eecf..5ec61b7c 100644
--- a/examples/text-editor/text-editor-example.cpp
+++ b/examples/text-editor/text-editor-example.cpp
@@ -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"