diff --git a/data/resources/ui/spinner-button.ui b/data/resources/ui/spinner-button.ui index 98733d81..4363a88c 100644 --- a/data/resources/ui/spinner-button.ui +++ b/data/resources/ui/spinner-button.ui @@ -14,8 +14,7 @@ - - True + center center diff --git a/src/components/spinner_button.rs b/src/components/spinner_button.rs index 03153a36..d7530a64 100644 --- a/src/components/spinner_button.rs +++ b/src/components/spinner_button.rs @@ -1,6 +1,8 @@ use adw::subclass::prelude::*; use gtk::{glib, prelude::*, CompositeTemplate}; +use super::Spinner; + mod imp { use glib::subclass::InitializingObject; @@ -14,7 +16,7 @@ mod imp { #[template_child] pub label: TemplateChild, #[template_child] - pub spinner: TemplateChild, + pub spinner: TemplateChild, } #[glib::object_subclass]