Sdk/TextAreaWidget: Fix commit fail

This commit is contained in:
Lynix 2017-01-18 23:36:19 +01:00
parent 36bcdcdb8c
commit 5d39d60f94
1 changed files with 3 additions and 0 deletions

View File

@ -94,10 +94,13 @@ namespace Ndk
} }
} }
void TextAreaWidget::Layout()
{ {
BaseWidget::Layout(); BaseWidget::Layout();
m_textEntity->GetComponent<NodeComponent>().SetPosition(GetContentOrigin());
RefreshCursor();
} }
void TextAreaWidget::OnKeyPressed(const Nz::WindowEvent::KeyEvent& key) void TextAreaWidget::OnKeyPressed(const Nz::WindowEvent::KeyEvent& key)