From 6cd22aa4ef6531758e9ecc5ece86771fd640821f Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 18 Sep 2024 10:38:03 +0200 Subject: [PATCH] Adjusted settings screen --- sbapp/main.py | 2 +- sbapp/ui/layouts.py | 52 ++++++++++++++++++++++++++++++++++++++------- 2 files changed, 45 insertions(+), 9 deletions(-) diff --git a/sbapp/main.py b/sbapp/main.py index 21522e0..2cb08ea 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -5682,7 +5682,7 @@ Thank you very much for using Free Communications Systems. self.root.ids.screen_manager.transition = self.slide_transition self.root.ids.screen_manager.transition.direction = direction - info = "The [b]Local Broadcasts[/b] feature will allow you to send and listen for local broadcast transmissions on connected radio, LoRa and WiFi interfaces.\n\n[b]Local Broadcasts[/b] makes it easy to establish public information exchange with anyone in direct radio range, or even with large areas far away using the [i]Remote Broadcast Repeater[/i] feature.\n\nThese features are not yet implemented in Sideband.\n\nWant it faster? Go to [u][ref=link]https://unsigned.io/donate[/ref][/u] to support the project." + info = "The [b]Local Broadcasts[/b] feature will allow you to send and listen for local broadcast transmissions on all connected interfaces.\n\n[b]Local Broadcasts[/b] makes it easy to establish public information exchange with anyone in direct radio range, or even with large areas far away using the [i]Remote Broadcast Repeater[/i] feature.\n\nThese features are not yet implemented in Sideband.\n\nWant it faster? Go to [u][ref=link]https://unsigned.io/donate[/ref][/u] to support the project." if self.theme_cls.theme_style == "Dark": info = "[color=#"+dark_theme_text_color+"]"+info+"[/color]" self.broadcasts_screen.ids.broadcasts_info.text = info diff --git a/sbapp/ui/layouts.py b/sbapp/ui/layouts.py index 22a6263..66acdd0 100644 --- a/sbapp/ui/layouts.py +++ b/sbapp/ui/layouts.py @@ -616,7 +616,7 @@ MDScreen: MDLabel: text: "Shared Instance Access\\n" id: connectivity_shared_access_label - font_style: "H6" + font_style: "H5" MDLabel: id: connectivity_shared_access @@ -1176,7 +1176,7 @@ MDScreen: padding: [0,dp(0),dp(0),dp(0)] text: "Plugin Settings" id: plugins_active_heading - font_style: "H6" + font_style: "H5" size_hint_y: None height: self.texture_size[1] @@ -1286,7 +1286,7 @@ MDScreen: MDLabel: text: "User Options" - font_style: "H6" + font_style: "H5" size_hint_y: None height: self.texture_size[1] @@ -1326,8 +1326,17 @@ MDScreen: height: dp(64) MDLabel: - text: "Address & Identity" + text: "•" font_style: "H6" + text_size: self.size + halign: "center" + size_hint_y: None + height: self.texture_size[1] + padding: [0, dp(2), 0, dp(22)] + + MDLabel: + text: "Address & Identity" + font_style: "H5" size_hint_y: None height: self.texture_size[1] @@ -1361,8 +1370,17 @@ MDScreen: height: dp(64) MDLabel: - text: "Appearance" + text: "•" font_style: "H6" + text_size: self.size + halign: "center" + size_hint_y: None + height: self.texture_size[1] + padding: [0, dp(2), 0, dp(22)] + + MDLabel: + text: "Appearance" + font_style: "H5" size_hint_y: None height: self.texture_size[1] @@ -1464,8 +1482,17 @@ MDScreen: active: False MDLabel: - text: "\\nBehaviour" + text: "•" font_style: "H6" + text_size: self.size + halign: "center" + size_hint_y: None + height: self.texture_size[1] + padding: [0, dp(22), 0, dp(2)] + + MDLabel: + text: "\\nBehaviour" + font_style: "H5" size_hint_y: None height: self.texture_size[1] @@ -1498,7 +1525,7 @@ MDScreen: height: dp(48) MDLabel: - text: "Try Propagation Node on direct delivery failure" + text: "Try propagation on direct delivery failure" font_style: "H6" MDSwitch: @@ -1684,8 +1711,17 @@ MDScreen: active: False MDLabel: - text: "Input Options & Localisation" + text: "•" font_style: "H6" + text_size: self.size + halign: "center" + size_hint_y: None + height: self.texture_size[1] + padding: [0, dp(0), 0, dp(30)] + + MDLabel: + text: "Input Options & Localisation" + font_style: "H5" size_hint_y: None height: self.texture_size[1]