Skip to content

Commit c97e93d

Browse files
About app: enable scrolling using arrow keys so off-screen info can be viewed
1 parent de53d68 commit c97e93d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- AppStore app: don't update UI after the user has closed the app
55
- Wifi app: cleanup and improve keyboard and focus handling
66
- Wifi app: improve different screensize handling
7+
- About app: enable scrolling using arrow keys so off-screen info can be viewed
78

89
0.1.1
910
=====

internal_filesystem/builtin/apps/com.micropythonos.about/assets/about.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,9 @@ def onCreate(self):
4545
label10.set_text(f"machine.reset_cause(): {machine.reset_cause()}")
4646
except Exception as e:
4747
print(f"Additional board info got exception: {e}")
48+
# Make the screen focusable so it can be scrolled with the arrow keys
49+
focusgroup = lv.group_get_default()
50+
if focusgroup:
51+
focusgroup.add_obj(screen)
52+
4853
self.setContentView(screen)

0 commit comments

Comments
 (0)