# Button display seems off. Was it always like this?

**URL:** <https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091>\
**Category:** Bug reports\
**Created:** [May 24, 2023, 10:54pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091 "2023-05-24T22:54:10Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![eusti](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/eusti/32/1070_2.png) [@eusti](https://forum.electra.one/u/eusti)\
**Post date:** [May 24, 2023, 10:54pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/1 "2023-05-24T22:54:10Z")

</div>

I have just revisited one of my own presets and am a bit surprised how the simple on/off buttons are displaying now. Off looks fine, but On doesn’t light up the whole button. That seems to be incorrect, no?  
See attached image: Top left is button switched on, other three are off. This looks more like a display for a lower percentage number / slider position to me.

 ![Snapseed 2](https://europe1.discourse-cdn.com/flex017/uploads/electraone/original/2X/1/1772937f4ea8a1287dea6c4c84e87314b77e2db8.jpeg)

---

<div class="post-metadata">

**Author:** ![oldgearguy](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@oldgearguy](https://forum.electra.one/u/oldgearguy)\
**Post date:** [May 25, 2023, 1:31am UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/2 "2023-05-25T01:31:56Z")

</div>

It was a change and that’s what it looks like now.  
I use a fader with 2 values and change text and color

---

<div class="post-metadata">

**Author:** ![eusti](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/eusti/32/1070_2.png) [@eusti](https://forum.electra.one/u/eusti)\
**Post date:** [May 25, 2023, 2:02am UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/3 "2023-05-25T02:02:17Z")

</div>

Thank you for confirming this, @oldgearguy! I don’t think I’m too fond of this change…  
Won’t the work around create a thinner box?

---

<div class="post-metadata">

**Author:** ![oldgearguy](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@oldgearguy](https://forum.electra.one/u/oldgearguy)\
**Post date:** [May 25, 2023, 9:46am UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/4 "2023-05-25T09:46:30Z")

</div>

I don’t remember right now what I ended up finally doing (and whether it looks different in 3.1.7 / 3.2 or not).

Suggestion - download my Looperlative LP1 preset. I use a lot of buttons and dynamically set them based on touch. I’m not near any music gear until much later today to check myself.

If you like what you see on those screens use that. I can explain any unusual things later if necessary. There’s no requirement o actually have an LP1 hooked up for it to function.

---

<div class="post-metadata">

**Author:** ![eusti](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/eusti/32/1070_2.png) [@eusti](https://forum.electra.one/u/eusti)\
**Post date:** [May 25, 2023, 11:04am UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/5 "2023-05-25T11:04:42Z")

</div>

Thank you, @oldgearguy! The bottons in your preset do work, but not any longer when I copy them into my preset…

@martin Is this the way it is supposed to be? Do you want us to figure out work arounds or is this going to get fixed? (Sorry, I understand the #2 and life stuff is eating up most of your time, but would love to know about this and the envelope issues…)

---

<div class="post-metadata">

**Author:** ![oldgearguy](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@oldgearguy](https://forum.electra.one/u/oldgearguy)\
**Post date:** [May 25, 2023, 11:25am UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/6 "2023-05-25T11:25:28Z")

</div>

There’s likely LUA behind them making them act like regular buttons.

if you can wait until later today, I’ll be able to pull out the small bits of LUA that you could add to get them to work in your preset.

---

<div class="post-metadata">

**Author:** ![eusti](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/eusti/32/1070_2.png) [@eusti](https://forum.electra.one/u/eusti)\
**Post date:** [May 25, 2023, 11:39am UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/7 "2023-05-25T11:39:19Z")

</div>

Thank you so much! No need to hurry!

I’m just a bit grumpy as I feel things that I care about for my use are falling by the wayside… That doesn’t need to result in other people needing the go into panic mode… Still need to express it though! 😉

---

<div class="post-metadata">

**Author:** ![martin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/martin/32/145_2.png) [@martin](https://forum.electra.one/u/martin)\
**Post date:** [May 25, 2023, 1:27pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/8 "2023-05-25T13:27:24Z")

</div>

This change was made a while ago. The main reason was that when we left the limit of 6 colours it has become quite hard - sometimes - to figure out if the button is on or if it just has a bright colour even when off. I am not super happy with the design either. I will be very happy for any suggestion. This basically counts for all types of controls. I am happy to make changes.

> [@eusti](#):
>
> Still need to express it though! 😉

It is perfectly ok and welcomed!

---

<div class="post-metadata">

**Author:** ![eusti](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/eusti/32/1070_2.png) [@eusti](https://forum.electra.one/u/eusti)\
**Post date:** [May 25, 2023, 1:41pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/9 "2023-05-25T13:41:47Z")

</div>

Thank you for letting me know, Martin. I think it would be great if one could select the on and off color shade / brightness in the web editor. That would - for me - solve it, I think!

---

<div class="post-metadata">

**Author:** ![nuipb](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@nuipb](https://forum.electra.one/u/nuipb)\
**Post date:** [May 25, 2023, 4:57pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/10 "2023-05-25T16:57:53Z")

</div>

I think that could be a good solution. Although even better for me would be a full lit background colour with black lettering in the ON position, and a black background in the OFF position with white lettering with maybe a thin line (same colour as the previous background colour) all around the rounded rectangle of the (now black) pad. And the possibility to have a text for the ON position and another text for the OFF position. And why not the possibility of a drawing, like the List have… So that we could draw for example the typical triangle for PLAY and double bar for PAUSE…

---

<div class="post-metadata">

**Author:** ![oldgearguy](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@oldgearguy](https://forum.electra.one/u/oldgearguy)\
**Post date:** [May 25, 2023, 5:12pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/11 "2023-05-25T17:12:27Z")

</div>

A nice extension might be to add (as stated above) a control:setOnState() and control:setOffState() for momentary and toggle buttons. You could specify the color and the text (and maybe even button shape) to use for each condition.

---

<div class="post-metadata">

**Author:** ![eusti](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/eusti/32/1070_2.png) [@eusti](https://forum.electra.one/u/eusti)\
**Post date:** [May 25, 2023, 5:35pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/12 "2023-05-25T17:35:50Z")

</div>

Love these ideas @nuipb and @oldgearguy !!! Keep them coming! 🙂

---

<div class="post-metadata">

**Author:** ![oldgearguy](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@oldgearguy](https://forum.electra.one/u/oldgearguy)\
**Post date:** [May 25, 2023, 8:11pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/13 "2023-05-25T20:11:02Z")

</div>

Take a look through this little example.

[Toggle Button stuff](https://app.electra.one/preset/9abbOeYtYLLv3jBBpDCG)

ask any questions and I’ll try to help.

May not be the most efficient or cleanest, but it gives you some ideas.

---

<div class="post-metadata">

**Author:** ![eusti](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/eusti/32/1070_2.png) [@eusti](https://forum.electra.one/u/eusti)\
**Post date:** [May 25, 2023, 11:26pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/14 "2023-05-25T23:26:33Z")

</div>

Thank you so much, @oldgearguy! Will check it out ASAP. 🙂

---

<div class="post-metadata">

**Author:** ![nuipb](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@nuipb](https://forum.electra.one/u/nuipb)\
**Post date:** [May 26, 2023, 10:59am UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/15 "2023-05-26T10:59:58Z")

</div>

> [@oldgearguy](#):
>
> Take a look through this little example.
> 
> [Toggle Button stuff](https://app.electra.one/preset/9abbOeYtYLLv3jBBpDCG)

Yes exactly. And adding BLACK as a background colour and a drawing area available…

---

<div class="post-metadata">

**Author:** ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)\
**Post date:** [May 26, 2023, 3:51pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/16 "2023-05-26T15:51:55Z")

</div>

Martin, what about the following way of defining an off-state:

- The color of the surface becomes dark grey
- The outline of the pad and the characters inherit the color, the surface has when in on-state

Not sure it would work great for all colours but it ensures you do not have to bother about two colors that both vary with te chose base color of the pad.

Perhaps you can add such pad design as an alternative pad type , like you arleady do with faders or envelopes?

---

<div class="post-metadata">

**Author:** ![oldgearguy](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@oldgearguy](https://forum.electra.one/u/oldgearguy)\
**Post date:** [May 26, 2023, 4:37pm UTC](https://forum.electra.one/t/button-display-seems-off-was-it-always-like-this/2091/17 "2023-05-26T16:37:44Z")

</div>

If an alternate/variant control was created, it should also be able to track its state so users don’t need to keep an extra structure around. Maybe since it is an on/off only thing, re-purpose the OverLayId field to track state.

(Martin will hit me for that - I’ve already talked to him about re-purposing various fields and structures as needed). 😮
