New object like Icon

Sometime we need the object like icon,some text below the icon.
This icon can clicked then jump to new window.

You can create a button and put both an lv_img and lv_label inside. As far as I know the layout can be customized to ensure the text goes below the image.

In v7.0 you will be able to use style value property for this purpose.

In the new version local style properties can be added to objects and some new style properties are also introduced. value is a simple custom text which can be aligned to the object.

You can read more about the new style system here:

1 Like