[gnome-control-center/gbsneto/applications-panel-cleanups: 2/5] applications: Polish the Storage dialog
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gbsneto/applications-panel-cleanups: 2/5] applications: Polish the Storage dialog
- Date: Thu, 20 Jan 2022 20:30:55 +0000 (UTC)
commit 25e0605f544916fbad550cb95ba9188be365b67d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Jan 20 15:56:20 2022 -0300
applications: Polish the Storage dialog
As per mockups, make the headerbar flat, add more spacings
and margins.
panels/applications/cc-applications-panel.ui | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/panels/applications/cc-applications-panel.ui b/panels/applications/cc-applications-panel.ui
index 483072137..198727522 100644
--- a/panels/applications/cc-applications-panel.ui
+++ b/panels/applications/cc-applications-panel.ui
@@ -424,14 +424,22 @@
<property name="use-header-bar">1</property>
<property name="resizable">0</property>
<property name="hide-on-close">True</property>
+ <child type="titlebar">
+ <object class="GtkHeaderBar">
+ <property name="show-title-buttons">True</property>
+ <style>
+ <class name="flat" />
+ </style>
+ </object>
+ </child>
<child>
<object class="GtkBox">
- <property name="margin-top">24</property>
- <property name="margin-bottom">24</property>
- <property name="margin-start">24</property>
- <property name="margin-end">24</property>
+ <property name="margin-top">18</property>
+ <property name="margin-bottom">48</property>
+ <property name="margin-start">48</property>
+ <property name="margin-end">48</property>
<property name="orientation">vertical</property>
- <property name="spacing">12</property>
+ <property name="spacing">24</property>
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
@@ -476,13 +484,9 @@
</object>
</child>
<child>
- <object class="GtkBox">
- <child>
- <object class="GtkButton" id="clear_cache_button">
- <property name="label" translatable="yes">Clear Cache…</property>
- <signal name="clicked" handler="clear_cache_cb" object="CcApplicationsPanel" swapped="yes"/>
- </object>
- </child>
+ <object class="GtkButton" id="clear_cache_button">
+ <property name="label" translatable="yes">Clear Cache…</property>
+ <signal name="clicked" handler="clear_cache_cb" object="CcApplicationsPanel" swapped="yes"/>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]