From 028958dde5ed7cd8aad7ee408fbc24636175ba21 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 16 Dec 2024 12:16:58 +0300 Subject: GtkSpinner → AdwSpinner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It looks nicer. --- src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index fc50b52..3a104ba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -380,10 +380,9 @@ impl AsyncComponent for App { root.set_size_request(360, 294); root.set_default_size(360, 640); - let spinner = gtk::Spinner::builder() - .spinning(true) - .height_request(32) - .width_request(32) + let spinner = adw::Spinner::builder() + .height_request(48) + .width_request(48) .halign(gtk::Align::Center) .valign(gtk::Align::Center) .build(); -- cgit 1.4.1