From 35c8fdbe63bb183948fd4bd6d417cff8e06f49a3 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 13 Oct 2022 20:09:03 +0200 Subject: [PATCH] Tweaked startup and exit screens --- sbapp/ui/layouts.py | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/sbapp/ui/layouts.py b/sbapp/ui/layouts.py index f881457..4f02700 100644 --- a/sbapp/ui/layouts.py +++ b/sbapp/ui/layouts.py @@ -14,9 +14,9 @@ MDNavigationLayout: name: "starting_screen" AnchorLayout: + padding: [dp(0), dp(72), dp(0), dp(0)] anchor_x: "center" anchor_y: "center" - padding: dp(64) BoxLayout: spacing: dp(36) @@ -28,9 +28,6 @@ MDNavigationLayout: halign: "center" text: "Please Wait" font_size: "32dp" - size_hint_y: None - text_size: self.width, None - height: self.texture_size[1] MDIconButton: pos_hint: {"center_x": .5, "center_y": .5} @@ -42,18 +39,15 @@ MDNavigationLayout: halign: "center" text: "Substantiating Reticulum" font_size: "32dp" - size_hint_y: None - text_size: self.width, None - height: self.texture_size[1] MDScreen: name: "exit_screen" AnchorLayout: + padding: [dp(0), dp(72), dp(0), dp(0)] anchor_x: "center" anchor_y: "center" - padding: dp(64) BoxLayout: spacing: dp(36) @@ -65,13 +59,9 @@ MDNavigationLayout: halign: "center" text: "Please Wait" font_size: "32dp" - size_hint_y: None - text_size: self.width, None - height: self.texture_size[1] MDIconButton: pos_hint: {"center_x": .5, "center_y": .5} - # icon: "close-network-outline" icon: "waves" icon_size: "72dp" @@ -80,9 +70,6 @@ MDNavigationLayout: halign: "center" text: "Dissolving Reticulum" font_size: "32dp" - size_hint_y: None - text_size: self.width, None - height: self.texture_size[1] MDScreen: