mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Pop below the entry if there's more free space below the entry than above.
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Pop below the entry if there's more free space below the entry than above. (#316948, Tommi Komulainen)
This commit is contained in:
parent
e9465843db
commit
aa79f94ac7
@ -1,3 +1,9 @@
|
||||
2005-09-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
|
||||
Pop below the entry if there's more free space below the entry
|
||||
than above. (#316948, Tommi Komulainen)
|
||||
|
||||
2005-09-26 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Do not create the save mode-specific widgets in the open modes, so
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-09-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
|
||||
Pop below the entry if there's more free space below the entry
|
||||
than above. (#316948, Tommi Komulainen)
|
||||
|
||||
2005-09-26 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Do not create the save mode-specific widgets in the open modes, so
|
||||
|
@ -1387,7 +1387,8 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
|
||||
else if (x + popup_req.width > monitor.x + monitor.width)
|
||||
x = monitor.x + monitor.width - popup_req.width;
|
||||
|
||||
if (y + entry_req.height + popup_req.height <= monitor.y + monitor.height)
|
||||
if (y + entry_req.height + popup_req.height <= monitor.y + monitor.height ||
|
||||
y - monitor.y < (monitor.y + monitor.height) - (y + entry_req.height))
|
||||
{
|
||||
y += entry_req.height;
|
||||
above = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user