Skip to main content
Associate
Jul 22, 2024 11:57 AM UTC
Solved

highlight scroll wheel selected icon

hi,

I have a scroll wheel with 7 icons, with a circular appearance.

I'd like to enlarge a bit the selected item, to make clear that item has been selected, is it possible? can touchgfx resize the selected icon?

Thanks in advance

This topic has been closed for replies.
LouisBBest answer
ST Employee
Jul 23, 2024 10:23 AM UTC

Hello @ab73 ,

 

The simplest way is to tick the Use Selected Style Template

 

 

 

Then you will need a second set of custom container for selected item.

 

BR,

 

Louis BOUDOST Software Engineer | TouchGFX

3 replies

LouisBBest answer
ST Employee
Jul 23, 2024 10:23 AM UTC

Hello @ab73 ,

 

The simplest way is to tick the Use Selected Style Template

 

 

 

Then you will need a second set of custom container for selected item.

 

BR,

 

Louis BOUDOST Software Engineer | TouchGFX
ab73Author
Associate
Jul 24, 2024 6:15 AM UTC

so I need a second set of enlarged icons to use in a second container?

and a user code similar to the main container to change the shown icon?

EDIT:

it works, thanks

ST Employee
Sep 26, 2024 1:57 PM UTC

Hello @ab73 ,

Yes you need a second set of items that you will specify in selected style Template.

LouisB_0-1727359015784.png

 

BR,

Louis BOUDOST Software Engineer | TouchGFX