From b354101a414f2e4ea2e20280157e186e065392ba Mon Sep 17 00:00:00 2001 From: "joogab.yun" Date: Thu, 18 Nov 2021 14:30:46 +0900 Subject: [PATCH] Fix alignment issues with field and editor. Change-Id: I4bf0c7dbad30ff74b6c5ed455db2f6b6f75b108d --- .../internal/controls/text-controls/common-text-utils.cpp | 2 +- .../internal/controls/text-controls/common-text-utils.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dali-toolkit/internal/controls/text-controls/common-text-utils.cpp b/dali-toolkit/internal/controls/text-controls/common-text-utils.cpp index 7331f3e665..7033e6d155 100644 --- a/dali-toolkit/internal/controls/text-controls/common-text-utils.cpp +++ b/dali-toolkit/internal/controls/text-controls/common-text-utils.cpp @@ -27,7 +27,7 @@ void CommonTextUtils::RenderText( Text::RendererPtr renderer, Text::ControllerPtr controller, Text::DecoratorPtr decorator, - float alignmentOffset, + float& alignmentOffset, Actor& renderableActor, Actor& backgroundActor, Toolkit::Control& stencil, diff --git a/dali-toolkit/internal/controls/text-controls/common-text-utils.h b/dali-toolkit/internal/controls/text-controls/common-text-utils.h index f2eaba7c6d..f9069a2fbc 100644 --- a/dali-toolkit/internal/controls/text-controls/common-text-utils.h +++ b/dali-toolkit/internal/controls/text-controls/common-text-utils.h @@ -37,7 +37,7 @@ public: * @param[in] renderer pointer to the text renderer * @param[in] controller pointer to the text controller * @param[in] decorator pointer to the text decorator - * @param[in] alignmentOffset Alignment offset + * @param[in,out] alignmentOffset Alignment offset * @param[in,out] renderableActor Actor for rendering text * @param[in,out] backgroundActor Actor for rendering background * @param[in,out] stencil Clipping actor @@ -49,7 +49,7 @@ public: Text::RendererPtr renderer, Text::ControllerPtr controller, Text::DecoratorPtr decorator, - float alignmentOffset, + float& alignmentOffset, Actor& renderableActor, Actor& backgroundActor, Toolkit::Control& stencil, -- 2.34.1