Fix: The last line of the text overlaps with the text-editor's border/edge 78/265378/3
authorShrouq Sabah <s.sabah@samsung.com>
Sun, 17 Oct 2021 14:09:35 +0000 (17:09 +0300)
committerShrouq Sabah <s.sabah@samsung.com>
Thu, 21 Oct 2021 08:13:24 +0000 (11:13 +0300)
This issue appears when ellipsis with start position is used with a large font.

textEditor.SetProperty(TextEditor::Property::POINT_SIZE, 25);
textEditor.SetProperty(Dali::Toolkit::DevelTextEditor::Property::ELLIPSIS, true);
textEditor.SetProperty(Dali::Toolkit::DevelTextEditor::Property::ELLIPSIS_POSITION, Dali::Toolkit::DevelText::EllipsisPosition::START);

Solution: Fixed early exit of loop that shift lines to up if ellipsis and multi lines and set ellipses of first line to true.

Change-Id: Ib08ee17309058bc006c0bd3867c00a10745407bc


No differences found