Image button widget

Hello everyone,

How to get the round corner icon in application using image button?

thanks.

The image will need to have transparency on the corners. At the moment, it’s not possible to mask the corners using LittlevGL.

Hi embeddedt,

Thanks for your reply.

Hi, I remember that “radius” works for round cornor, see it in “style”, maybe you can have a try.

Unfortunately, setting the radius will not round images in the 6.x versions. You have to do it manually using an image editor.

In 7.0+ you will be able to mask the corners of any object, as the drawing system has been rewritten.