# Static/placeholder labels? keyboard navigation groups?

**URL:** <http://forum.squareline.io/t/static-placeholder-labels-keyboard-navigation-groups/964>\
**Category:** Feature requests\
**Created:** [March 7, 2023, 5:34am UTC](http://forum.squareline.io/t/static-placeholder-labels-keyboard-navigation-groups/964 "2023-03-07T05:34:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pryankster](http://forum.squareline.io/letter_avatar_proxy/v4/letter/p/aca169/32.png) [@pryankster](http://forum.squareline.io/u/pryankster)\
**Post date:** [March 7, 2023, 5:34am UTC](http://forum.squareline.io/t/static-placeholder-labels-keyboard-navigation-groups/964/1 "2023-03-07T05:34:55Z")

</div>

### What do you want to achieve?

It would be great if the SLS had a checkbox for “placeholder” text for label items. The text would show up in the UI editor, but the generated code would not set any text. This could be used for building “dialog boxes”, for example, where you might want to see “sample text goes here” in the UI, but not store that “sample text goes here” in FLASH on the target.

It would be really great if the generated code used “lv\_label\_set\_text\_static” instead of “lv\_label\_set\_text” … the static version doesn’t allocate any memory and copy the incoming text, but that’s okay, because it’s going to be a constant anyways. in text or label heavy applications, this could save a lot of RAM.

Is it possible to setup groups in SLS? (can do it in code with ‘lv\_group\_create()’, and then manually add each widget, but it would be nice if that could be done at design time!)

… and please for the love of all that is holy, make “undo” less surprising!! it seems to step back to some random change that I previously made, and then “redo” doesn’t put back what it just changed…

– pryankster

---

<div class="post-metadata">

**Author:** ![kisvegabor](http://forum.squareline.io/user_avatar/forum.squareline.io/kisvegabor/32/537_2.png) [@kisvegabor](http://forum.squareline.io/u/kisvegabor)\
**Post date:** [March 8, 2023, 7:55am UTC](http://forum.squareline.io/t/static-placeholder-labels-keyboard-navigation-groups/964/2 "2023-03-08T07:55:19Z")

</div>

> [@pryankster](#):
>
> It would be great if the SLS had a checkbox for “placeholder” text for label items. The text would show up in the UI editor, but the generated code would not set any text. This could be used for building “dialog boxes”, for example, where you might want to see “sample text goes here” in the UI, but not store that “sample text goes here” in FLASH on the target.

Interesting idea, we will discuss it.

> [@pryankster](#):
>
> It would be really great if the generated code used “lv\_label\_set\_text\_static” instead of “lv\_label\_set\_text” … the static version doesn’t allocate any memory and copy the incoming text, but that’s okay, because it’s going to be a constant anyways. in text or label heavy applications, this could save a lot of RAM.

True, we can add it easily.

> [@pryankster](#):
>
> Is it possible to setup groups in SLS? (can do it in code with ‘lv\_group\_create()’, and then manually add each widget, but it would be nice if that could be done at design time!)

They are really not supported yet. We still need to figure out how to handle kaypad/buttons in SLS, so it’s larger topic.

> [@pryankster](#):
>
> … and please for the love of all that is holy, make “undo” less surprising!! it seems to step back to some random change that I previously made, and then “redo” doesn’t put back what it just changed…

We also found that it’s that reliable now. We are working on it.

---

<div class="post-metadata">

**Author:** ![kisvegabor](http://forum.squareline.io/user_avatar/forum.squareline.io/kisvegabor/32/537_2.png) [@kisvegabor](http://forum.squareline.io/u/kisvegabor)\
**Post date:** [March 8, 2023, 8:13pm UTC](http://forum.squareline.io/t/static-placeholder-labels-keyboard-navigation-groups/964/3 "2023-03-08T20:13:51Z")

</div>

> [@kisvegabor](#):
>
> > [@pryankster](#):
> >
> > … and please for the love of all that is holy, make “undo” less surprising!! it seems to step back to some random change that I previously made, and then “redo” doesn’t put back what it just changed…
> 
> We also found that it’s that reliable now. We are working on it.

Can you mention an exact case where undo didn’t work correctly?

---

<div class="post-metadata">

**Author:** ![pryankster](http://forum.squareline.io/letter_avatar_proxy/v4/letter/p/aca169/32.png) [@pryankster](http://forum.squareline.io/u/pryankster)\
**Post date:** [March 9, 2023, 1:49am UTC](http://forum.squareline.io/t/static-placeholder-labels-keyboard-navigation-groups/964/4 "2023-03-09T01:49:38Z")

</div>

nearly every time I press it, I’m surprised! I created some widgets, changed a property, pressed undo and the widgets I created disappeared. This happened with various widgets and various properties. I’ll try to keep a closer eye on what I do before hitting ^Z, but I’ve mostly trained myself not to press it at this point!

– pryankster
