[gnome-builder] libide/sourceview: align using top of menu item



commit fbc76b48172a2e2c0f4da7c7ef2b63565907b1f7
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 14 14:00:43 2022 -0700

    libide/sourceview: align using top of menu item
    
    Related #1708

 src/libide/sourceview/ide-source-view.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libide/sourceview/ide-source-view.c b/src/libide/sourceview/ide-source-view.c
index 8131353e5..dd69deb36 100644
--- a/src/libide/sourceview/ide-source-view.c
+++ b/src/libide/sourceview/ide-source-view.c
@@ -408,6 +408,7 @@ ide_source_view_menu_popup_action (GtkWidget  *widget,
       gtk_popover_set_position (self->popup_menu, GTK_POS_RIGHT);
       gtk_popover_set_has_arrow (self->popup_menu, FALSE);
       gtk_widget_set_halign (GTK_WIDGET (self->popup_menu), GTK_ALIGN_START);
+      gtk_widget_set_valign (GTK_WIDGET (self->popup_menu), GTK_ALIGN_START);
     }
 
   buffer = gtk_text_view_get_buffer (text_view);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]