ScrollView Textsize in Designer Scripts ?

tcgoh

Active Member
Licensed User
Longtime User
Hi,

I have a SQL table presented on a ScrollView with the Front size declare as float.

How do I change the textsize in the scrollview in the designer scripts to carter for different screen sizes?

Thanks
 

tcgoh

Active Member
Licensed User
Longtime User
You must change the text size of the views when you add them to the ScrollView.Panel.

Best regards.

Hi Klaus,

Thanks for the reply. I'm using one of your scrollview SQL example and I'm unable to get "scrollview.panel.textsize" or a "scrollview.panel" in the designer scripts.

Sorry I'm lost. Could you show me some code or example.
Thanks for your help.

Regards.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
You can't change the font size in the Designer script because all the views in the scrollview are added in the code in the SetHeader and AddRow routines.
You have the FontSize variable defining the text size.
So you could check the screen size and change the value of FontSize according to the screen size.

Best regards.
 
Upvote 0
Top