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   | 
		 
		
			| 
				
	 | 
 
	
		| 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.
		
		
		
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 02:18:20 CET 2025 
 Total time taken to generate the page: 0.04183 seconds 
 |