forked from osmocom/wireshark
Resize the list in the autocompletion popup when narrowing down the elements
to remove a possible horizontal scrollbar when not needed. svn path=/trunk/; revision=28681
This commit is contained in:
parent
701cedf791
commit
97f33bab62
|
@ -312,6 +312,7 @@ autocompletion_list_lookup(GtkWidget *filter_te, GtkWidget *popup_win, GtkWidget
|
|||
|
||||
g_free (first);
|
||||
|
||||
gtk_tree_view_columns_autosize(GTK_TREE_VIEW(list));
|
||||
gtk_widget_size_request(list, &requisition);
|
||||
|
||||
gtk_widget_set_size_request(popup_win, popup_win->allocation.width, (requisition.height<200? requisition.height+8:200));
|
||||
|
|
Loading…
Reference in New Issue