You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
About app: enable scrolling using arrow keys so off-screen info can be viewed
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
- AppStore app: don't update UI after the user has closed the app
|
||||
- Wifi app: cleanup and improve keyboard and focus handling
|
||||
- Wifi app: improve different screensize handling
|
||||
- About app: enable scrolling using arrow keys so off-screen info can be viewed
|
||||
|
||||
0.1.1
|
||||
=====
|
||||
|
||||
@@ -45,4 +45,9 @@ class About(Activity):
|
||||
label10.set_text(f"machine.reset_cause(): {machine.reset_cause()}")
|
||||
except Exception as e:
|
||||
print(f"Additional board info got exception: {e}")
|
||||
# Make the screen focusable so it can be scrolled with the arrow keys
|
||||
focusgroup = lv.group_get_default()
|
||||
if focusgroup:
|
||||
focusgroup.add_obj(screen)
|
||||
|
||||
self.setContentView(screen)
|
||||
|
||||
Reference in New Issue
Block a user