diff options
Diffstat (limited to 'views/controls/textfield/textfield.cc')
-rw-r--r-- | views/controls/textfield/textfield.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/textfield/textfield.cc b/views/controls/textfield/textfield.cc index 09ac2f7..1b4461c 100644 --- a/views/controls/textfield/textfield.cc +++ b/views/controls/textfield/textfield.cc @@ -284,7 +284,7 @@ size_t Textfield::GetCursorPosition() const { void Textfield::Layout() { if (native_wrapper_) { - native_wrapper_->GetView()->SetBoundsRect(GetContentsBounds()); + native_wrapper_->GetView()->SetBoundsRect(GetLocalBounds()); native_wrapper_->GetView()->Layout(); } } |