From 5d39d60f9410df6a0ff9e9c3f2541d6650c34e3f Mon Sep 17 00:00:00 2001 From: Lynix Date: Wed, 18 Jan 2017 23:36:19 +0100 Subject: [PATCH] Sdk/TextAreaWidget: Fix commit fail --- SDK/src/NDK/Widgets/TextAreaWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SDK/src/NDK/Widgets/TextAreaWidget.cpp b/SDK/src/NDK/Widgets/TextAreaWidget.cpp index e239efac7..089f8a380 100644 --- a/SDK/src/NDK/Widgets/TextAreaWidget.cpp +++ b/SDK/src/NDK/Widgets/TextAreaWidget.cpp @@ -94,10 +94,13 @@ namespace Ndk } } + void TextAreaWidget::Layout() { BaseWidget::Layout(); + m_textEntity->GetComponent().SetPosition(GetContentOrigin()); + RefreshCursor(); } void TextAreaWidget::OnKeyPressed(const Nz::WindowEvent::KeyEvent& key)