[gnome-builder/wip/gtk4-port: 321/1774] libide/editor: use enter page area for widgets
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 321/1774] libide/editor: use enter page area for widgets
- Date: Mon, 11 Jul 2022 22:31:07 +0000 (UTC)
commit fbf10dbd0d851e6215ef693481801605cf151f26
Author: Christian Hergert <chergert redhat com>
Date: Sat Apr 2 02:14:41 2022 -0700
libide/editor: use enter page area for widgets
src/libide/editor/ide-editor-page.ui | 2 ++
src/libide/gui/ide-page.c | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/editor/ide-editor-page.ui b/src/libide/editor/ide-editor-page.ui
index cd1758575..538b3a7b3 100644
--- a/src/libide/editor/ide-editor-page.ui
+++ b/src/libide/editor/ide-editor-page.ui
@@ -14,6 +14,8 @@
<child>
<object class="IdeSourceView" id="view">
<property name="monospace">true</property>
+ <property name="hexpand">true</property>
+ <property name="vexpand">true</property>
</object>
</child>
</object>
diff --git a/src/libide/gui/ide-page.c b/src/libide/gui/ide-page.c
index de3137149..d117e0b87 100644
--- a/src/libide/gui/ide-page.c
+++ b/src/libide/gui/ide-page.c
@@ -272,7 +272,8 @@ ide_page_init (IdePage *self)
IdePagePrivate *priv = ide_page_get_instance_private (self);
g_autoptr(GSimpleActionGroup) group = g_simple_action_group_new ();
- gtk_orientable_set_orientation (GTK_ORIENTABLE (self), GTK_ORIENTATION_VERTICAL);
+ gtk_widget_set_hexpand (GTK_WIDGET (self), TRUE);
+ gtk_widget_set_vexpand (GTK_WIDGET (self), TRUE);
panel_widget_set_icon_name (PANEL_WIDGET (self), "text-x-generic-symbolic");
priv->mru_link.data = self;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]