From b69454b305f3622f4059c5299ed338d01a6f8313 Mon Sep 17 00:00:00 2001 From: heliguy Date: Wed, 15 Nov 2023 14:30:34 -0500 Subject: [PATCH] Make the loading page a tad better --- data/ui/window.blp | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/data/ui/window.blp b/data/ui/window.blp index aeea91b..66847f4 100644 --- a/data/ui/window.blp +++ b/data/ui/window.blp @@ -54,31 +54,10 @@ template $WarehouseWindow: Adw.ApplicationWindow { content: Adw.ToastOverlay toast_overlay { Overlay main_overlay { Stack main_stack { - Box loading_flatpaks { - orientation: vertical; - spacing: 10; - margin-top: 40; - margin-bottom: 20; - halign: center; - valign: center; - - Spinner { - margin-bottom: 35; - width-request: 30; - height-request: 30; - opacity: 0.5; - spinning: true; - } - - Label { - label: _("Loading Flatpaks…"); - styles ["title-1", "title"] - } - - Label { - label: _("This should only take a moment."); - styles ["description", "body"] - } + Adw.StatusPage loading_flatpaks { + icon-name: "clock-alt-symbolic"; + title: _("Loading Flatpaks…"); + description: _("This should only take a moment."); } Box main_box {