Set_style_text_font method error

I am exporting for .c, but the label set_style_text_font method specification is generating micro python ones.

cui_xxxLabel.set_style_text_font(lv_font_montserrat_8, lv.PART.MAIN | LV_STATE_DEFAULT)

The correct statement is as follows.

lv_obj_set_style_text_font(cui_XXXLabel, &lv_font_montserrat_8, LV_PART_MAIN | LV_STATE_DEFAULT);

I would like to have it corrected.

Others

  • SquareLine Studio version: 1.3.0
  • Operating system: Windows10
  • Target hardware: NXP i.mxRT

Further information: the bug is found in text label component .c files.

Thank you for reporting it.
We have added it to our todo list for the next release.

1 Like

Thank you.
I look forward to your next release.