From 98d3f519e44b3e672e99743f19350e863329fe11 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Tue, 19 Sep 2023 19:55:09 +0200 Subject: [PATCH] internet-connection.py: change position of the label Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/internet-connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/internet-connection.py b/pwnagotchi/plugins/default/internet-connection.py index 0f23c5ce..f418f663 100644 --- a/pwnagotchi/plugins/default/internet-connection.py +++ b/pwnagotchi/plugins/default/internet-connection.py @@ -32,7 +32,7 @@ class InternetConnectionPlugin(plugins.Plugin): # add a LabeledValue element to the UI with the given label and value # the position and font can also be specified ui.add_element('connection_status', components.LabeledValue(color=view.BLACK, label='WWW', value='-', - position=(ui.width() / 2 - 30, 0), + position=(ui.width() / 2 - 40, 0), label_font=fonts.Bold, text_font=fonts.Medium)) def on_ui_update(self, ui):