# Check Box text appearing unexpectedly

**URL:** <http://forum.squareline.io/t/check-box-text-appearing-unexpectedly/6407>\
**Category:** Bugs\
**Created:** [May 12, 2026, 2:26pm UTC](http://forum.squareline.io/t/check-box-text-appearing-unexpectedly/6407 "2026-05-12T14:26:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard](http://forum.squareline.io/user_avatar/forum.squareline.io/richard/32/1129_2.png) [@Richard](http://forum.squareline.io/u/Richard)\
**Post date:** [May 12, 2026, 2:26pm UTC](http://forum.squareline.io/t/check-box-text-appearing-unexpectedly/6407/1 "2026-05-12T14:26:42Z")

</div>

### What do you want to achieve?

I’m updating a project from LVGLv8 to LVGLv9.3.0, and found that LVGL v9.3.0 check boxes default to the text “Check box”, but this isn’t cleared out by SquareLine Studio 1.6.1

### What have you tried so far?

I put six checkboxes on a screen in LVGLv8.3.11, then upgraded the project to LVGLv9.3.0.

### Screenshot or video

Here’s how SquareLine previews the screen:

 ![image](http://forum.squareline.io/uploads/default/original/2X/3/3c6d5f59b2ab1b27222138f036da37cb5958208b.png)

But on-device the default “Check box” title appears:

 ![image](http://forum.squareline.io/uploads/default/original/2X/8/85657cc86b549569f066e775f591e2a3a09289ed.jpeg)

This LVGL code seems to imply that LVGLv9 assigns a default text value, maybe LVGLv8 didn’t? I suspect SquareLine needs to `lv_checkbox_set_text(checkbox_obj, "")` when the title is empty, but currently appears not to, leading to the default text showing. I’m not sure why SquareLine’s preview seems correct though. Currently the exported code does not call `lv_checkbox_set_text()` on those checkboxes at all.

```auto
void test_checkbox_should_have_default_text_when_created(void)
{
    const char * default_text = "Check box";

    active_screen = lv_screen_active();
    checkbox = lv_checkbox_create(active_screen);

    TEST_ASSERT_EQUAL_STRING(default_text, lv_checkbox_get_text(checkbox));
    TEST_ASSERT_NOT_NULL(lv_checkbox_get_text(checkbox));
}

```

### Others

- **SquareLine Studio version:** 1.6.1
- **Operating system:** Windows 11
- **Target hardware:** Custom ESP32-S3 board

---

<div class="post-metadata">

**Author:** ![SquareLine\_Support](http://forum.squareline.io/user_avatar/forum.squareline.io/squareline_support/32/47_2.png) [@SquareLine\_Support](http://forum.squareline.io/u/SquareLine_Support)\
**Post date:** [May 14, 2026, 9:18am UTC](http://forum.squareline.io/t/check-box-text-appearing-unexpectedly/6407/2 "2026-05-14T09:18:30Z")

</div>

Hi, Thank you very much for the report, we have added it to the bug list.
