[sysprof] libsysprof-ui: button styling



commit 3967721933962f255cdba73d02bd249fe8e475b0
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 13 22:28:41 2019 -0700

    libsysprof-ui: button styling

 src/libsysprof-ui/ui/sysprof-capture-view.ui | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/src/libsysprof-ui/ui/sysprof-capture-view.ui b/src/libsysprof-ui/ui/sysprof-capture-view.ui
index d2f33c8..562915e 100644
--- a/src/libsysprof-ui/ui/sysprof-capture-view.ui
+++ b/src/libsysprof-ui/ui/sysprof-capture-view.ui
@@ -16,14 +16,14 @@
                 <property name="orientation">horizontal</property>
                 <property name="valign">center</property>
                 <property name="visible">true</property>
+                <style>
+                  <class name="linked"/>
+                </style>
                 <child>
                   <object class="GtkButton">
                     <property name="action-name">zoom.zoom-out</property>
                     <property name="focus-on-click">false</property>
                     <property name="visible">true</property>
-                    <style>
-                      <class name="flat"/>
-                    </style>
                     <child>
                       <object class="GtkImage">
                         <property name="icon-name">zoom-out-symbolic</property>
@@ -36,11 +36,17 @@
                   <object class="GtkButton">
                     <property name="action-name">zoom.zoom-one</property>
                     <property name="focus-on-click">false</property>
-                    <property name="label" bind-source="zoom_manager" bind-property="zoom-label" 
bind-flags="sync-create"/>
                     <property name="visible">true</property>
                     <style>
-                      <class name="flat"/>
+                      <class name="text-label"/>
                     </style>
+                    <child>
+                      <object class="GtkLabel">
+                        <property name="label" bind-source="zoom_manager" bind-property="zoom-label" 
bind-flags="sync-create"/>
+                        <property name="width-chars">5</property>
+                        <property name="visible">true</property>
+                      </object>
+                    </child>
                   </object>
                 </child>
                 <child>
@@ -48,9 +54,6 @@
                     <property name="action-name">zoom.zoom-in</property>
                     <property name="focus-on-click">false</property>
                     <property name="visible">true</property>
-                    <style>
-                      <class name="flat"/>
-                    </style>
                     <child>
                       <object class="GtkImage">
                         <property name="icon-name">zoom-in-symbolic</property>


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