gnucash master: [dialog-invoice] combine GtkCheckButton with label

Christopher Lam clam at code.gnucash.org
Tue Mar 7 10:47:09 EST 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/c4747ad2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/aa296bd7 (commit)



commit c4747ad20342fa43d5804a5ba6ecb6ddb0979468
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Mar 7 23:21:32 2023 +0800

    [dialog-invoice] combine GtkCheckButton with label
    
    UX: increase the target area for click. Similar to f170d1d54c

diff --git a/gnucash/gtkbuilder/dialog-invoice.glade b/gnucash/gtkbuilder/dialog-invoice.glade
index 37864b4c69..f3b4518274 100644
--- a/gnucash/gtkbuilder/dialog-invoice.glade
+++ b/gnucash/gtkbuilder/dialog-invoice.glade
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.38.2 -->
+<!-- Generated with glade 3.40.0 -->
 <interface>
   <requires lib="gtk+" version="3.22"/>
   <object class="GtkWindow" id="invoice_entry_window">
@@ -165,6 +165,7 @@
                     </child>
                     <child>
                       <object class="GtkCheckButton" id="active_check">
+                        <property name="label" translatable="yes">Active</property>
                         <property name="visible">True</property>
                         <property name="can-focus">True</property>
                         <property name="receives-default">False</property>
@@ -178,18 +179,6 @@
                         <property name="top-attach">5</property>
                       </packing>
                     </child>
-                    <child>
-                      <object class="GtkLabel">
-                        <property name="visible">True</property>
-                        <property name="can-focus">False</property>
-                        <property name="halign">end</property>
-                        <property name="label" translatable="yes">Active</property>
-                      </object>
-                      <packing>
-                        <property name="left-attach">0</property>
-                        <property name="top-attach">5</property>
-                      </packing>
-                    </child>
                     <child>
                       <object class="GtkBox">
                         <property name="visible">True</property>
@@ -223,6 +212,9 @@
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </object>
                 </child>
                 <child type="label">



Summary of changes:
 gnucash/gtkbuilder/dialog-invoice.glade | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)



More information about the gnucash-changes mailing list