660 views
in Embedded Wizard Studio by

 

I am trying to change the font size when a key is pressed through a keyhandler. 

But if the itemclass of the vertical list is created in a different group, how do I change the font size of the vertical list as well?

1 Answer

0 votes
by
 
Best answer

Hello sukyeong,
One way to solve your issue can be to store the font within a class variable and reload the list anytime this font is changed. You can assign thi font when loading the list items.


 

by

Thanks, I've verified that it works. 
But when I select a list item I was going to put a group Dialog instead of (Views::Text) in ITEMCLASS to make a change. 
Is there any other way to display the selected state when it is set to (Views::Text)?

 

by

Hello sukyeon,
As I understand, you want to change the font for marking the focused state. In this case plase take a look on handling component states.
As soon as you asign the focus, the related state handling is autonatically triggered.

I hope this helps,
Rudolf

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...