How to style component in LV_STATE_USER_1 state?

What do you want to achieve?

I want to define a style for a component, and then apply it by assigning the LV_STATE_USER_1 state in the code.

What have you tried so far?

I do not see user styles in Style Settings - State combo.

Screenshot or video

image

Others

  • SquareLine Studio version: 1.1.1
  • Operating system: Win10
  • Target hardware: ESP32
2 Likes

We also found that it’d be useful many times. We will check if we can still add it in v1.2 or only in v1.2.1.

1 Like