[gnome-boxes/toast-revolution: 2/2] toast: Style our custom Boxes.Toast to look more like Adw.Toast




commit 904b0d239bb1c3b0776d7e2c38f83b7fbc78f9bf
Author: Felipe Borges <felipeborges gnome org>
Date:   Fri Jan 21 10:36:48 2022 +0100

    toast: Style our custom Boxes.Toast to look more like Adw.Toast
    
    https://gitlab.gnome.org/GNOME/libadwaita/-/blob/main/src/adw-toast-widget.ui

 data/ui/toast.ui | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/data/ui/toast.ui b/data/ui/toast.ui
index 73f2f957..fe6b682d 100644
--- a/data/ui/toast.ui
+++ b/data/ui/toast.ui
@@ -6,6 +6,7 @@
     <property name="halign">center</property>
     <property name="valign">end</property>
     <property name="margin">20</property>
+    <property name="spacing">10</property>
     <style>
       <class name="app-notification"/>
       <class name="boxes-toast"/>
@@ -19,6 +20,10 @@
         <property name="wrap">True</property>
         <property name="lines">2</property>
         <property name="margin">5</property>
+        <style>
+          <class name="heading"/>
+        </style>
+
       </object>
     </child>
 
@@ -36,6 +41,7 @@
         <property name="visible">True</property>
         <signal name="clicked" handler="on_dismiss_button_clicked"/>
         <style>
+          <class name="circular"/>
           <class name="flat"/>
         </style>
 


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