🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    coreink UIflow UI element show() API broken

    PRODUCTS
    1
    1
    633
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      michalko
      last edited by

      Just playing with a recently bought CoreInk and the UI element hide() and show() api seems to be broken. Consider this:

      from m5stack import *
      from m5ui import *
      from uiflow import *
      
      
      setScreenColor(lcd.WHITE)
      
      
      
      
      
      
      label0 = M5TextBox(39, 55, "label0", lcd.FONT_Comic, lcd.BLACK, rotate=0)
      
      
      label0.show()
      coreInkShow()
      

      here instead of plotting "label0" in Comic font, it will somehow fall back to a default font with the artefacts of the original label in the background. In app mode (downloaded) it will behave bit differently, but it's broken there too.

      when run0_1706904048352_IMG_9519.jpg :

      when downloaded
      0_1706904067374_IMG_9520.jpg

      images behave the same. Anyone seen this?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post