Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Apr 08, 2020 2:14 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Setting grid header font based on screen resolution
PostPosted: Mon May 20, 2013 5:31 pm 
Offline
User avatar

Joined: Sat Jun 04, 2011 8:29 am
Posts: 387
In our app there is a grid control. We use the elastic window control to resize our window, but we were not resizing the fonts inside the grid control when someone maximizes the screen.

A customer has a larger LCD TV monitor and wanted the font sizes bigger so that they were more readable.... so now we are in the game of trying to set the font size. We had it all set on resize and it looked great on ours, but at some lower resolutions the font is too big and the headers become unreadable.

ANy suggestions on how to handle this?

_________________
Currently using:
Windows XP Pro SP3
Real Studio 2011 Release 4.3 Enterprise
and
Mac OS 10.7.4
Real Studio 2011 Release 4.3 Enterprise
(finally also compiled on Mac)


Top
 Profile  
Reply with quote  
 Post subject: Re: Setting grid header font based on screen resolution
PostPosted: Mon May 20, 2013 6:20 pm 
Offline

Joined: Sat Oct 01, 2005 5:19 pm
Posts: 3216
change the textUnit to point?


Top
 Profile  
Reply with quote  
 Post subject: Re: Setting grid header font based on screen resolution
PostPosted: Mon May 20, 2013 7:50 pm 
Offline
User avatar

Joined: Sat Jun 04, 2011 8:29 am
Posts: 387
The StyleGrid cells have a FontSize property but don't see a way to switch it to point instead of pixel.

I don't understand how that would help anyway? Finer control over font size??? i.e. are points smaller than pixels


Top
 Profile  
Reply with quote  
 Post subject: Re: Setting grid header font based on screen resolution
PostPosted: Tue May 21, 2013 1:47 pm 
Offline

Joined: Sat Oct 01, 2005 5:19 pm
Posts: 3216
Points are a unit of measurement, pixels aren't.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group