[dialog-invoice] combine GtkCheckButton with label

UX: increase the target area for click. Similar to f170d1d54c
This commit is contained in:
Christopher Lam 2023-03-07 23:21:32 +08:00
parent aa296bd718
commit c4747ad203

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.40.0 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkWindow" id="invoice_entry_window"> <object class="GtkWindow" id="invoice_entry_window">
@ -165,6 +165,7 @@
</child> </child>
<child> <child>
<object class="GtkCheckButton" id="active_check"> <object class="GtkCheckButton" id="active_check">
<property name="label" translatable="yes">Active</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">False</property> <property name="receives-default">False</property>
@ -178,18 +179,6 @@
<property name="top-attach">5</property> <property name="top-attach">5</property>
</packing> </packing>
</child> </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> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
@ -223,6 +212,9 @@
<child> <child>
<placeholder/> <placeholder/>
</child> </child>
<child>
<placeholder/>
</child>
</object> </object>
</child> </child>
<child type="label"> <child type="label">