diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index bf012b7a030..257b36ca962 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -967,7 +967,7 @@ void TextEdit::_notification(int p_what) { } - Point2 hint_ofs = Vector2(completion_hint_offset,cursor_pos.y-minsize.y); + Point2 hint_ofs = Vector2(completion_hint_offset,cursor_pos.y+minsize.y); draw_style_box(sb,Rect2(hint_ofs,minsize)); spacing=0;