cancel
Showing results for 
Search instead for 
Did you mean: 

how to release/pressed text inside custom container

JPabl.1
Associate III

Hi there Touchgfx team!

I've this screen requirement, a list of settings. I'm doing it with a custom container that I already created. My custom container has a flex button with text(on the left) + the text on the right. 

JPabl1_0-1729101170967.png

What I need is that once the user presses the button, the text color changes to white. Once its released, changes back to black. The flex button works perfect, but I'm having trouble setting it up for the right text. 

I could add the white and black images, or creating a function to check if the button is pressed every n ticks, but that seems cumbersome. Is there any other way? 

 

Thanks a lot in advance

0 REPLIES 0