2.4.2

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-18 16:17:06 +02:00
parent 5c0b82ed16
commit 46a34a25b5
2 changed files with 2 additions and 2 deletions

View File

@ -579,7 +579,7 @@ class BTTether(plugins.Plugin):
def on_ui_setup(self, ui): def on_ui_setup(self, ui):
with ui._lock: with ui._lock:
ui.add_element('bluetooth', LabeledValue(color=BLACK, label='BT', value='-', ui.add_element('bluetooth', LabeledValue(color=BLACK, label='BT', value='-',
position=(ui.width() / 2 + 30, 0), position=(ui.width() / 2 + 20, 0),
label_font=fonts.Bold, text_font=fonts.Medium)) label_font=fonts.Bold, text_font=fonts.Medium))
def on_ui_update(self, ui): def on_ui_update(self, ui):

View File

@ -32,7 +32,7 @@ class InternetConnectionPlugin(plugins.Plugin):
# add a LabeledValue element to the UI with the given label and value # add a LabeledValue element to the UI with the given label and value
# the position and font can also be specified # the position and font can also be specified
ui.add_element('connection_status', components.LabeledValue(color=view.BLACK, label='WWW', value='-', ui.add_element('connection_status', components.LabeledValue(color=view.BLACK, label='WWW', value='-',
position=(ui.width() / 2 - 10, 0), label_font=fonts.Bold, position=(ui.width() / 2 - 20, 0), label_font=fonts.Bold,
text_font=fonts.Medium)) text_font=fonts.Medium))
def on_ui_update(self, ui): def on_ui_update(self, ui):