What do you want to achieve?
I have a single screen project and just want to hide certain image labels with a condition in the Arduino code.
What have you tried so far?
Do i need the hidden flag checked? when i do it still doesn’t work , or am i using the wrong command?
see below:
/*void showIndecatorOn(bool isOn)
{
if (isOn) {
if (lv_obj_has_flag(ui_turn_on, LV_OBJ_FLAG_HIDDEN))
lv_obj_clear_flag(ui_turn_on, LV_OBJ_FLAG_HIDDEN);
} else {
if (!lv_obj_has_flag(ui_turn_on, LV_OBJ_FLAG_HIDDEN)) {
lv_obj_add_flag(ui_turn_on, LV_OBJ_FLAG_HIDDEN);
}
} ### Screenshot or video
Others
- SquareLine Studio version:
- Operating system:
- Target hardware: