Added exit screen. Disabled overscroll to mitigate KivyMD bug (disappearing list entries due to extreme overscroll. Added debug log option.

This commit is contained in:
Mark Qvist 2022-10-07 17:22:03 +02:00
parent cdd854c55a
commit 79df28a77a
3 changed files with 79 additions and 3 deletions

View file

@ -47,6 +47,43 @@ MDNavigationLayout:
height: self.texture_size[1]
MDScreen:
name: "exit_screen"
AnchorLayout:
anchor_x: "center"
anchor_y: "center"
padding: dp(64)
BoxLayout:
spacing: dp(36)
orientation: 'vertical'
size_hint_y: None
MDLabel:
id: connecting_info
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_size: "72dp"
MDLabel:
id: connecting_info
halign: "center"
text: "Shutting down..."
font_size: "32dp"
size_hint_y: None
text_size: self.width, None
height: self.texture_size[1]
MDScreen:
name: "conversations_screen"