forked from AuroraMiddleware/gtk
Improve positioning of entry completion popup.
2004-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Improve positioning of entry completion popup.
This commit is contained in:
parent
d04d99e947
commit
633bc9cad5
@ -1279,8 +1279,6 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
|
|||||||
gdk_window_get_origin (completion->priv->entry->window, &x, &y);
|
gdk_window_get_origin (completion->priv->entry->window, &x, &y);
|
||||||
get_borders (GTK_ENTRY (completion->priv->entry), &x_border, &y_border);
|
get_borders (GTK_ENTRY (completion->priv->entry), &x_border, &y_border);
|
||||||
|
|
||||||
x += x_border;
|
|
||||||
y += 2 * y_border;
|
|
||||||
|
|
||||||
matches = gtk_tree_model_iter_n_children (GTK_TREE_MODEL (completion->priv->filter_model), NULL);
|
matches = gtk_tree_model_iter_n_children (GTK_TREE_MODEL (completion->priv->filter_model), NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user