update ui
This commit is contained in:
@@ -2,9 +2,15 @@
|
||||
<interface>
|
||||
<template class="CardDisplay" parent="GtkWidget">
|
||||
<child>
|
||||
<object class="GtkPicture" id="picture">
|
||||
<object class="GtkImage" id="image">
|
||||
<property name="halign">GTK_ALIGN_CENTER</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<property name="vexpand-set">true</property>
|
||||
<property name="vexpand">true</property>
|
||||
<property name="hexpand-set">true</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">512</property>
|
||||
<property name="height-request">512</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
@@ -17,7 +23,7 @@
|
||||
<object class="GtkEntry" id="answer_entry">
|
||||
<property name="halign">GTK_ALIGN_CENTER</property>
|
||||
<property name="valign">GTK_ALIGN_START</property>
|
||||
<property name="placeholder-text">Type kana that picture means</property>
|
||||
<property name="placeholder-text">Type kana that image means</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
@@ -2,46 +2,38 @@
|
||||
<interface>
|
||||
<template class="CardEntry" parent="GtkWidget">
|
||||
<child>
|
||||
<object class="GtkGrid">
|
||||
<child>
|
||||
<object class="GtkPicture" id="picture">
|
||||
<property name="halign">GTK_ALIGN_START</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<layout>
|
||||
<property name="column">0</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="hieroglyph_label">
|
||||
<property name="halign">GTK_ALIGN_START</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<layout>
|
||||
<property name="column">1</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="reading_label">
|
||||
<property name="halign">GTK_ALIGN_START</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<layout>
|
||||
<property name="column">2</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="delete_button">
|
||||
<property name="halign">GTK_ALIGN_END</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<property name="label">delete</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="hexpand-set">true</property>
|
||||
<layout>
|
||||
<property name="column">3</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<object class="GtkImage" id="image">
|
||||
<property name="halign">GTK_ALIGN_START</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<property name="vexpand">true</property>
|
||||
<property name="vexpand">true</property>
|
||||
<property name="height-request">128</property>
|
||||
<property name="width-request">128</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="hieroglyph_label">
|
||||
<property name="halign">GTK_ALIGN_START</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<property name="margin-start">50</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="reading_label">
|
||||
<property name="halign">GTK_ALIGN_END</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<property name="margin-end">50</property>
|
||||
<property name="hexpand-set">true</property>
|
||||
<property name="hexpand">true</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="delete_button">
|
||||
<property name="halign">GTK_ALIGN_END</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<property name="label">delete</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="hexpand-set">true</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user