Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-18 09:00:49 +02:00
parent 9dfdf5f63e
commit 3b625c9cd7

View File

@ -31,7 +31,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='Internet:', value='', ui.add_element('connection_status', components.LabeledValue(color=view.BLACK, label='Internet:', value='',
position=(0, 50), label_font=fonts.Small, position=(0, 30), label_font=fonts.Small,
text_font=fonts.Small)) text_font=fonts.Small))
def on_ui_update(self, ui): def on_ui_update(self, ui):