cancel
Showing results for 
Search instead for 
Did you mean: 

How do I implement the snapper mix-in? I'm trying to create a 3 position slide switch and I'm having trouble getting it to "snap" to either position 1, 2, or 3. Is the snapper the correct mix-in to use here or am I off base?

Mr. Berticus
Associate II
 
1 REPLY 1
Osman SOYKURT
ST Employee

Hello Mr. Berticus,

TouchGFX Designer does not support the snapper mixin, yet. But you can create your 3 position slide switch using the draggable mixin, for example with a box that can be draggable, and based on it position x, y you can implement the switch through code.

Or even easier, you can use the scroll list or scroll wheel with 3 elements on it.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX