[gnome-software: 84/110] Expand some widgets
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 84/110] Expand some widgets
- Date: Tue, 5 Oct 2021 20:32:42 +0000 (UTC)
commit 2e4573e1e3261bf100a95ab085d41943c1da235d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Aug 26 11:27:08 2021 -0300
Expand some widgets
src/gs-app-version-history-row.ui | 1 +
src/gs-page.c | 2 ++
src/gs-shell.ui | 4 ++++
src/gs-updates-section.ui | 1 +
4 files changed, 8 insertions(+)
---
diff --git a/src/gs-app-version-history-row.ui b/src/gs-app-version-history-row.ui
index 8f962db08..c37ed6d72 100644
--- a/src/gs-app-version-history-row.ui
+++ b/src/gs-app-version-history-row.ui
@@ -24,6 +24,7 @@
<child>
<object class="GtkLabel" id="version_number_label">
<property name="visible">True</property>
+ <property name="hexpand">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<attributes>
diff --git a/src/gs-page.c b/src/gs-page.c
index ad0f8a339..563d1c8fb 100644
--- a/src/gs-page.c
+++ b/src/gs-page.c
@@ -825,6 +825,8 @@ gs_page_dispose (GObject *object)
static void
gs_page_init (GsPage *page)
{
+ gtk_widget_set_hexpand (GTK_WIDGET (page), TRUE);
+ gtk_widget_set_vexpand (GTK_WIDGET (page), TRUE);
}
static void
diff --git a/src/gs-shell.ui b/src/gs-shell.ui
index 43dcfb322..56db7f390 100644
--- a/src/gs-shell.ui
+++ b/src/gs-shell.ui
@@ -305,6 +305,8 @@
<child>
<object class="GtkStack" id="stack_main">
<property name="visible">True</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
<property name="hhomogeneous">False</property>
<property name="vhomogeneous">False</property>
<property name="transition-type">crossfade</property>
@@ -422,6 +424,8 @@
<child>
<object class="GtkStack" id="stack_sub">
<property name="visible">True</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
<property name="hhomogeneous">False</property>
<property name="vhomogeneous">False</property>
<property name="transition-type">crossfade</property>
diff --git a/src/gs-updates-section.ui b/src/gs-updates-section.ui
index 15bb0bdf0..24c896f2e 100644
--- a/src/gs-updates-section.ui
+++ b/src/gs-updates-section.ui
@@ -16,6 +16,7 @@
<property name="can_focus">False</property>
<property name="ellipsize">end</property>
<property name="halign">start</property>
+ <property name="hexpand">True</property>
<property name="xalign">0</property>
<style>
<class name="heading"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]