New topic: Setting grid header font based on screen resolution
<http://forums.realsoftware.com/viewtopic.php?t=47930> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message torrid Post subject: Setting grid header font based on screen resolutionPosted: Mon May 20, 2013 5:31 pm 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 Jym Post subject: Re: Setting grid header font based on screen resolutionPosted: Mon May 20, 2013 6:20 pm Joined: Sat Oct 01, 2005 5:19 pm Posts: 3211 change the textUnit to point? Top torrid Post subject: Re: Setting grid header font based on screen resolutionPosted: Mon May 20, 2013 7:50 pm 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 Jym Post subject: Re: Setting grid header font based on screen resolutionPosted: Tue May 21, 2013 1:47 pm Joined: Sat Oct 01, 2005 5:19 pm Posts: 3211 Points are a unit of measurement, pixels aren't. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
