[gtk+/gtk-3-22] widget-factory: use circular style class on the circular button...



commit 6660dc5186c2440da4897aa732cc54012d4f5fcb
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Oct 18 13:08:02 2016 +0200

    widget-factory: use circular style class on the circular button...
    
    ...in place of the circular-button one, killing the custom style
    shipped, realying on the theme style.

 demos/widget-factory/widget-factory.css |    5 -----
 demos/widget-factory/widget-factory.ui  |    2 +-
 2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.css b/demos/widget-factory/widget-factory.css
index 7f764ca..1782e6d 100644
--- a/demos/widget-factory/widget-factory.css
+++ b/demos/widget-factory/widget-factory.css
@@ -1,8 +1,3 @@
-.circular-button {
-  border-radius: 20px;
-  -gtk-outline-radius: 20px;
-}
-
 .small-button {
   padding: 0;
   outline-width: 0;
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 58f1e26..f540cff 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -3107,7 +3107,7 @@ microphone-sensitivity-medium-symbolic</property>
                                 <property name="visible">1</property>
                                 <style>
                                   <class name="image-button"/>
-                                  <class name="circular-button"/>
+                                  <class name="circular"/>
                                 </style>
                                 <child>
                                   <object class="GtkImage">


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