U++ framework
Do not panic. Ask here before giving up.

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: Mon Aug 31 13:48:45 GMT+2 2026

Total time taken to generate the page: 0.01138 seconds