Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: has anyone done automatic font sizing based on field content?

$
0
0

Hi Brad;

 

  Thanks for the class pointer in the FC's for others!

 

  Yes, it only sets the size based on the current text - but, I was thinking that you could extend that a little further and change the font and then see what the new size would have to be to house that. That way you could compute the ideal font for the area you have available. I'm not sure of the performance on that approach though.

 

Good luck ... a simple but complex question mate!

 

Regards ... Chris


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>