mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 19:00:59 +00:00
LibGUI: Remove column width limitation in AutocompleteProvider
This commit is contained in:
parent
3678f78bfb
commit
4a7be3f81c
Notes:
sideshowbarker
2024-07-18 08:44:34 +09:00
Author: https://github.com/itamar8910
Commit: 4a7be3f81c
Pull-request: https://github.com/SerenityOS/serenity/pull/8889
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ void AutocompleteBox::update_suggestions(Vector<AutocompleteProvider::Entry>&& s
|
|||
model.set_suggestions(move(suggestions));
|
||||
} else {
|
||||
m_suggestion_view->set_model(adopt_ref(*new AutocompleteSuggestionModel(move(suggestions))));
|
||||
m_suggestion_view->set_column_width(1, 100);
|
||||
m_suggestion_view->update();
|
||||
if (has_suggestions)
|
||||
m_suggestion_view->set_cursor(m_suggestion_view->model()->index(0), GUI::AbstractView::SelectionUpdate::Set);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue