cards/new, cards/edit and some improvements
This commit is contained in:
		
							
								
								
									
										32
									
								
								resources/widgets/card_entry/template.ui.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								resources/widgets/card_entry/template.ui.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<interface>
 | 
			
		||||
    <template class="CardEntry" parent="GtkWidget">
 | 
			
		||||
        <property name="image_hash"></property>
 | 
			
		||||
        <property name="hieroglyph"></property>
 | 
			
		||||
        <property name="translation"></property>
 | 
			
		||||
        <child>
 | 
			
		||||
            <object class="GtkPicture" id="picture">
 | 
			
		||||
                <property name="halign">GTK_ALIGN_CENTER</property>
 | 
			
		||||
                <property name="valign">GTK_ALIGN_CENTER</property>
 | 
			
		||||
            </object>
 | 
			
		||||
        </child>
 | 
			
		||||
        <child>
 | 
			
		||||
            <object class="GtkLabel" id="hieroglyph_label">
 | 
			
		||||
                <property name="halign">GTK_ALIGN_START</property>
 | 
			
		||||
                <property name="valign">GTK_ALIGN_START</property>
 | 
			
		||||
            </object>
 | 
			
		||||
        </child>
 | 
			
		||||
        <child>
 | 
			
		||||
            <object class="GtkLabel" id="translation_label">
 | 
			
		||||
                <property name="halign">GTK_ALIGN_START</property>
 | 
			
		||||
                <property name="valign">GTK_ALIGN_START</property>
 | 
			
		||||
            </object>
 | 
			
		||||
        </child>
 | 
			
		||||
        <child>
 | 
			
		||||
            <object class="GtkButton" id="edit_button">
 | 
			
		||||
                <property name="halign">GTK_ALIGN_END</property>
 | 
			
		||||
                <property name="valign">GTK_ALIGN_END</property>
 | 
			
		||||
            </object>
 | 
			
		||||
        </child>
 | 
			
		||||
    </template>
 | 
			
		||||
</interface>
 | 
			
		||||
		Reference in New Issue
	
	Block a user