learn-hieroglyphs/resources/cards/edit/ui.xml

61 lines
3.2 KiB
XML
Raw Normal View History

<?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>
2024-04-23 18:20:03 +03:00
<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_scrolled_window">
<property name="halign">GTK_ALIGN_FILL</property>
<property name="valign">GTK_ALIGN_FILL</property>
<property name="vexpand">true</property>
<child>
2024-04-22 12:55:43 +03:00
<object class="GtkListView" id="cards_container">
2024-04-08 16:34:14 +03:00
<property name="valign">GTK_ALIGN_FILL</property>
<property name="halign">GTK_ALIGN_FILL</property>
2024-04-17 10:03:03 +03:00
<!-- <property name="orientation">vertical</property> -->
2024-04-08 16:34:14 +03:00
<property name="hexpand">true</property>
<property name="hexpand-set">true</property>
2024-04-09 15:06:27 +03:00
<!-- <property name="homogeneous">true</property> -->
<property name="halign">GTK_ALIGN_FILL</property>
<property name="valign">GTK_ALIGN_FILL</property>
</object>
</child>
</object>
</child>
2024-04-10 20:25:02 +03:00
<child>
<object class="GtkButton" id="back_button">
<property name="label">go back</property>
</object>
</child>
</object>
</child>
</template>
</interface>