From: Heeyong Song Date: Mon, 4 Jan 2021 14:41:56 +0000 (+0000) Subject: Merge "Support animation of ArcVisual properties" into devel/master X-Git-Tag: dali_2.0.8~6 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=fa2cf9a483feaf77e4053f6b31a3046db8627269;hp=368452e0541100af5ab3cd49353b427d2f38607f Merge "Support animation of ArcVisual properties" into devel/master --- diff --git a/dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp b/dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp index 23799c3..7e64b6e 100644 --- a/dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp +++ b/dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp @@ -1514,6 +1514,9 @@ void TextEditor::OnKeyInputFocusGained() DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextEditor::OnKeyInputFocusGained %p\n", mController.Get() ); if ( mInputMethodContext && IsEditable() ) { + // All input panel properties, such as layout, return key type, and input hint, should be set before input panel activates (or shows). + mInputMethodContext.NotifyTextInputMultiLine( true ); + mInputMethodContext.StatusChangedSignal().Connect( this, &TextEditor::KeyboardStatusChanged ); mInputMethodContext.EventReceivedSignal().Connect( this, &TextEditor::OnInputMethodContextEvent ); diff --git a/dali-toolkit/internal/controls/text-controls/text-field-impl.cpp b/dali-toolkit/internal/controls/text-controls/text-field-impl.cpp index fc09fd8..e87ba2f 100644 --- a/dali-toolkit/internal/controls/text-controls/text-field-impl.cpp +++ b/dali-toolkit/internal/controls/text-controls/text-field-impl.cpp @@ -1519,7 +1519,9 @@ void TextField::OnKeyInputFocusGained() DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextField::OnKeyInputFocusGained %p\n", mController.Get() ); if ( mInputMethodContext && IsEditable() ) { + // All input panel properties, such as layout, return key type, and input hint, should be set before input panel activates (or shows). mInputMethodContext.ApplyOptions( mInputMethodOptions ); + mInputMethodContext.NotifyTextInputMultiLine( false ); mInputMethodContext.StatusChangedSignal().Connect( this, &TextField::KeyboardStatusChanged );