Settings app: make "Cancel" button more "ghosty" to discourage accidental misclicks

This commit is contained in:
Thomas Farstrike
2026-01-26 11:53:00 +01:00
parent f72b300b53
commit 81f17dd07e
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
- About app: show MicroPythonOS logo at the top
- AppStore app: fix BadgeHub backend handling
- OSUpdate app: eliminate requests library
- Settings app: make "Cancel" button more "ghosty" to discourage accidental misclicks
- Remove dependency on micropython-esp32-ota library
- Remove dependency on traceback library
- Show new MicroPythonOS logo at boot
@@ -257,6 +257,7 @@ class CameraSettingsActivity(Activity):
cancel_button = lv.button(button_cont)
cancel_button.set_size(DisplayMetrics.pct_of_width(25), lv.SIZE_CONTENT)
cancel_button.set_style_opa(lv.OPA._70, lv.PART.MAIN)
if self.scanqr_mode:
cancel_button.align(lv.ALIGN.BOTTOM_MID, DisplayMetrics.pct_of_width(10), 0)
else:
@@ -104,6 +104,7 @@ class SettingActivity(Activity):
# Cancel button
cancel_btn = lv.button(btn_cont)
cancel_btn.set_size(lv.pct(45), lv.SIZE_CONTENT)
cancel_btn.set_style_opa(lv.OPA._70, lv.PART.MAIN)
cancel_label = lv.label(cancel_btn)
cancel_label.set_text("Cancel")
cancel_label.center()