Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » How to set fontsize in GridCtrl
Re: How to set fontsize in GridCtrl [message #20791 is a reply to message #20787] Tue, 07 April 2009 21:45 Go to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

michael wrote on Tue, 07 April 2009 07:56

Is there a way to set the fontsize in a GridCtrl?

Not for the whole grid. But you can change it for particular row or cell:
grid.GetRow(0).SetFont(Arial(5));
grid(0, 1) = AttrText("text").Font(Arial(3));

or you can create your own display based on GridDisplay and assign it to the grid.
PS: I'll add it on to do list.
 
Read Message
Read Message
Previous Topic: How to change color background of a cell?
Next Topic: Image In Cell In ArrayCtrl ? !!
Goto Forum:
  


Current Time: Tue Jul 15 21:17:38 CEST 2025

Total time taken to generate the page: 0.03383 seconds