[gnome-software: 1/4] updates-page: Add a clamp to the spinner page
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/4] updates-page: Add a clamp to the spinner page
- Date: Mon, 21 Jun 2021 10:40:34 +0000 (UTC)
commit bb36c6579db7f8e78db0246c94fc2edb27e290f2
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Jun 17 10:04:27 2021 +0200
updates-page: Add a clamp to the spinner page
This better matches the style of HdyStatusPage.
src/gs-updates-page.ui | 44 ++++++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 20 deletions(-)
---
diff --git a/src/gs-updates-page.ui b/src/gs-updates-page.ui
index 39372edc0..38350e395 100644
--- a/src/gs-updates-page.ui
+++ b/src/gs-updates-page.ui
@@ -66,33 +66,37 @@
<object class="GtkStack" id="stack_updates">
<property name="visible">True</property>
<child>
- <object class="GtkBox" id="updates_spinner_box">
+ <object class="HdyClamp">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">36</property>
- <property name="halign">center</property>
- <property name="valign">center</property>
- <property name="hexpand">True</property>
- <property name="vexpand">True</property>
<child>
- <object class="GtkSpinner" id="spinner_updates">
+ <object class="GtkBox">
<property name="visible">True</property>
- <property name="width_request">128</property>
- <property name="height_request">128</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">36</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="label_updates_spinner">
- <property name="visible">True</property>
- <property name="label"/>
- <property name="justify">center</property>
- <style>
- <class name="large-title"/>
- </style>
+ <child>
+ <object class="GtkSpinner" id="spinner_updates">
+ <property name="visible">True</property>
+ <property name="width_request">128</property>
+ <property name="height_request">128</property>
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label_updates_spinner">
+ <property name="visible">True</property>
+ <property name="justify">center</property>
+ <style>
+ <class name="large-title"/>
+ </style>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]