diff options
Diffstat (limited to 'LibGUI/GAbstractView.cpp')
-rw-r--r-- | LibGUI/GAbstractView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGUI/GAbstractView.cpp b/LibGUI/GAbstractView.cpp index 300ede4a6e..c0f72ceccc 100644 --- a/LibGUI/GAbstractView.cpp +++ b/LibGUI/GAbstractView.cpp @@ -74,7 +74,7 @@ void GAbstractView::begin_editing(const GModelIndex& index) m_edit_widget = new GTextBox(this); m_edit_widget->move_to_back(); m_edit_widget->set_text(model()->data(index, GModel::Role::Display).to_string()); - m_edit_widget_content_rect = content_rect(index); + m_edit_widget_content_rect = content_rect(index).translated(frame_thickness(), frame_thickness()); update_edit_widget_position(); m_edit_widget->set_focus(true); m_edit_widget->on_return_pressed = [this] { |