Editing of cards

This commit is contained in:
2024-04-16 23:21:48 +03:00
parent c2e6788a85
commit 0ad6550d0b
9 changed files with 139 additions and 31 deletions

View File

@@ -3,7 +3,7 @@
<template class="MemoryCardsEditScene" parent="GtkApplicationWindow">
<property name="title">Memory cards edit</property>
<property name="height-request">1000</property>
<property name="width-request">500</property>
<!-- <property name="width-request">500</property> -->
<child>
<object class="GtkBox" id="content">
<property name="orientation">vertical</property>

View File

@@ -20,7 +20,7 @@
</child>
<child>
<object class="GtkLabel" id="translation_label">
<property name="halign">GTK_ALIGN_END</property>
<property name="halign">GTK_ALIGN_START</property>
<property name="valign">GTK_ALIGN_CENTER</property>
<property name="margin-end">50</property>
<property name="hexpand-set">true</property>
@@ -28,9 +28,18 @@
</object>
</child>
<child>
<object class="GtkButton" id="delete_button">
<object class="GtkButton" id="edit_button">
<property name="halign">GTK_ALIGN_END</property>
<property name="valign">GTK_ALIGN_CENTER</property>
<property name="label">edit</property>
<property name="hexpand">true</property>
<property name="hexpand-set">true</property>
</object>
</child>
<child>
<object class="GtkButton" id="delete_button">
<property name="halign">GTK_ALIGN_START</property>
<property name="valign">GTK_ALIGN_CENTER</property>
<property name="label">delete</property>
<property name="hexpand">true</property>
<property name="hexpand-set">true</property>