layout and fix
This commit is contained in:
@@ -38,6 +38,14 @@
|
||||
<property name="vexpand">true</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="cards_container">
|
||||
<property name="valign">GTK_ALIGN_FILL</property>
|
||||
<property name="halign">GTK_ALIGN_FILL</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="hexpand-set">true</property>
|
||||
<property name="vexpand">true</property>
|
||||
<property name="vexpand-set">true</property>
|
||||
<property name="homogeneous">true</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="halign">GTK_ALIGN_FILL</property>
|
||||
<property name="valign">GTK_ALIGN_FILL</property>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<child>
|
||||
<object class="GtkBox" id="content">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<child>
|
||||
<object class="CardDisplay" id="card_display"></object>
|
||||
</child>
|
||||
|
||||
@@ -6,9 +6,6 @@
|
||||
<property name="width-request">512</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="content">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="halign">GTK_ALIGN_CENTER</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<child>
|
||||
<object class="GtkPicture" id="picture">
|
||||
<property name="halign">GTK_ALIGN_CENTER</property>
|
||||
|
||||
@@ -7,6 +7,12 @@
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="error_message">
|
||||
<property name="visible">false</property>
|
||||
<property name="label">No card image found in database. If you think this is an error, please, create an issue.</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkEntry" id="answer_entry">
|
||||
<property name="halign">GTK_ALIGN_CENTER</property>
|
||||
|
||||
@@ -3,26 +3,26 @@
|
||||
<template class="CardEntry" parent="GtkWidget">
|
||||
<child>
|
||||
<object class="GtkPicture" id="picture">
|
||||
<property name="halign">GTK_ALIGN_CENTER</property>
|
||||
<property name="halign">GTK_ALIGN_START</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>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="reading_label">
|
||||
<property name="halign">GTK_ALIGN_START</property>
|
||||
<property name="valign">GTK_ALIGN_START</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="delete_button">
|
||||
<property name="halign">GTK_ALIGN_END</property>
|
||||
<property name="valign">GTK_ALIGN_END</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
<property name="label">delete</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
Reference in New Issue
Block a user