Add vertical alignment for text editor 39/273039/6
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 30 Mar 2022 03:07:15 +0000 (12:07 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Fri, 8 Apr 2022 03:46:52 +0000 (12:46 +0900)
commitb020756d745758d3f23f3ed6354888364c0960a3
tree89c877561d482e6bdb77d255668b30ece46e265c
parent3e2d3713a2c8d2a31955830a973d0ca15fc116af
Add vertical alignment for text editor

- Support VerticalAlignment for TextEditor
- If the layout size is bigger than control size,
  there is no meaning in calculating the vertical offset.
- But when the text is empty,
  the cursor position should be updated according to the vertical alignment.

Change-Id: I219abf970ff4cb3ce0540244a3f6fd4ed41d24e8
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-TextEditor.cpp
dali-toolkit/devel-api/controls/text-controls/text-editor-devel.h
dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp
dali-toolkit/internal/controls/text-controls/text-editor-property-handler.cpp
dali-toolkit/internal/text/text-controller-impl.cpp
dali-toolkit/internal/text/text-controller-relayouter.cpp
dali-toolkit/internal/text/text-controller-relayouter.h