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 » GridCtrl align text in column
Re: GridCtrl align text in column [message #9989 is a reply to message #9988] Tue, 12 June 2007 21:34 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

You can also use wrapping property. Just add after AlignRight():
grid.AddColumn("The path").AlignRight().WrapText();

and set proper height of a row (for example 40):
grid.SetDefaultRowHeight(40)

Auto height is not implemented so for now you must control it manually or turn on rows' resizing.
Soon I will refactor GridCtrl a lot so expect auto height calculation to be there.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get edit data in virtual ArrayCtrl?
Next Topic: Ctrls<>() Callback / Disable some rows
Goto Forum:
  


Current Time: Sun Jul 20 14:17:21 CEST 2025

Total time taken to generate the page: 0.00378 seconds