cards/new, cards/edit and some improvements

This commit is contained in:
2024-04-05 12:42:02 +03:00
parent 005da0d8c9
commit 5d65c0b93a
22 changed files with 470 additions and 38 deletions

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="MemoryCardsEditScene" parent="GtkApplicationWindow">
<property name="title">Memory cards edit</property>
<property name="height-request">1000</property>
<property name="width-request">1000</property>
<child>
<object class="GtkBox" id="content">
<property name="orientation">vertical</property>
<property name="valign">GTK_ALIGN_FILL</property>
<property name="halign">GTK_ALIGN_FILL</property>
<child>
<object class="GtkBox" id="search_bar">
<property name="orientation">horizontal</property>
<property name="valign">GTK_ALIGN_START</property>
<property name="halign">GTK_ALIGN_FILL</property>
<child>
<object class="GtkSearchEntry" id="search_entry">
<property name="placeholder-text">Find a card</property>
<property name="halign">GTK_ALIGN_FILL</property>
<property name="valign">GTK_ALIGN_FILL</property>
<property name="hexpand">true</property>
</object>
</child>
<child>
<object class="GtkButton" id="add_button">
<property name="label">+</property>
<property name="halign">GTK_ALIGN_END</property>
<property name="valign">GTK_ALIGN_FILL</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkScrolledWindow" id="cards">
<property name="halign">GTK_ALIGN_FILL</property>
<property name="valign">GTK_ALIGN_FILL</property>
<property name="vexpand">true</property>
<child>
<object class="CardEntry" id="first">
<property name="hieroglyph">ka</property>
<property name="translation">tr</property>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>