diff --git a/resources/cards/edit/ui.xml b/resources/cards/edit/ui.xml index 06143de..e3d2dc4 100644 --- a/resources/cards/edit/ui.xml +++ b/resources/cards/edit/ui.xml @@ -37,7 +37,7 @@ GTK_ALIGN_FILL true - + vertical GTK_ALIGN_FILL GTK_ALIGN_FILL diff --git a/src/ui/cards/edit/imp.rs b/src/ui/cards/edit/imp.rs index 005b83e..133f735 100644 --- a/src/ui/cards/edit/imp.rs +++ b/src/ui/cards/edit/imp.rs @@ -1,3 +1,4 @@ +use std::cell::RefCell; use std::fs; use std::io::ErrorKind; use std::path::Path; @@ -24,9 +25,11 @@ pub struct MemoryCardsEditScene { #[template_child] pub add_button: TemplateChild