[gnome-builder/wip/gtk4-port] plugins/sysprof: fix expand of display widget



commit 5b419faf78fea79beee5a0039133911d3eace1d0
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 17 15:46:26 2022 -0700

    plugins/sysprof: fix expand of display widget

 src/plugins/sysprof/gbp-sysprof-page.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/sysprof/gbp-sysprof-page.c b/src/plugins/sysprof/gbp-sysprof-page.c
index 9b61ca296..db20abf0b 100644
--- a/src/plugins/sysprof/gbp-sysprof-page.c
+++ b/src/plugins/sysprof/gbp-sysprof-page.c
@@ -138,6 +138,8 @@ gbp_sysprof_page_init (GbpSysprofPage *self)
 {
   self->display = SYSPROF_DISPLAY (sysprof_display_new ());
   g_object_bind_property (self->display, "title", self, "title", 0);
+  gtk_widget_set_hexpand (GTK_WIDGET (self->display), TRUE);
+  gtk_widget_set_vexpand (GTK_WIDGET (self->display), TRUE);
   ide_page_add_content_widget (IDE_PAGE (self), GTK_WIDGET (self->display));
 
   panel_widget_set_icon_name (PANEL_WIDGET (self), "builder-profiler-symbolic");


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