[gtk/glyph-clipping-fixes: 1/2] gtk-demo: Fix non-circular buttons




commit 06db47784768be7f259669ab7ecf2fbc6b4a0d4a
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 17 15:24:26 2021 -0400

    gtk-demo: Fix non-circular buttons

 demos/gtk-demo/fontrendering.ui | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/demos/gtk-demo/fontrendering.ui b/demos/gtk-demo/fontrendering.ui
index 44b65c9a19..a28491a85a 100644
--- a/demos/gtk-demo/fontrendering.ui
+++ b/demos/gtk-demo/fontrendering.ui
@@ -177,6 +177,8 @@
             <child>
               <object class="GtkButton" id="up_button">
                 <property name="icon-name">list-add-symbolic</property>
+                <property name="halign">center</property>
+                <property name="valign">center</property>
                 <style>
                   <class name="circular"/>
                 </style>
@@ -200,6 +202,8 @@
             <child>
               <object class="GtkButton" id="down_button">
                 <property name="icon-name">list-remove-symbolic</property>
+                <property name="halign">center</property>
+                <property name="valign">center</property>
                 <style>
                   <class name="circular"/>
                 </style>


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