Update cursor when Keyboard Focus gained 73/44673/3
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Fri, 24 Jul 2015 12:40:12 +0000 (13:40 +0100)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Fri, 24 Jul 2015 13:02:21 +0000 (14:02 +0100)
* Cursor had 0 height if TextField editmode started without tapping control

Change-Id: Iad6eeb1a4e6e55c498a1afc276acee03b10095d3
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
dali-toolkit/internal/text/text-controller.cpp

index ef8b746..fcb3c09 100644 (file)
@@ -1099,6 +1099,7 @@ void Controller::KeyboardFocusGainEvent()
       ShowPlaceholderText();
     }
 
+    mImpl->mEventData->mUpdateCursorPosition = true; //If editing started without tap event, cursor update must be triggered.
     mImpl->RequestRelayout();
   }
 }