You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Settings app: make "Cancel" button more "ghosty" to discourage accidental misclicks
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user