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 align a column?
how align a column? [message #5394] Mon, 18 September 2006 14:16 Go to previous message
nicomesas is currently offline  nicomesas
Messages: 104
Registered: September 2006
Location: Barcelona, Spain
Experienced Member
Hey

I have a ArrayCtrl in which a column represents money and I build it thus:

 theList.AddColumn("donativo").SetFormat("%2!nl").HeaderTab().SetAlign(ALIGN_RIGHT); 


The numerical columns see far better if they are aligned to right.

Nevertheless the alignment only affects to the header, not to the data in the column.

index.php?t=getfile&id=266&private=0

I believe that it must be possible that all a column is aligned, but encounter the function or the method not to do it.

Somebody can give an instructions to me.

Nico
  • Attachment: align.png
    (Size: 4.51KB, Downloaded 3348 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl and non contigous cells
Next Topic: Can I center an Option control in an ArrayCtrl column?
Goto Forum:
  


Current Time: Tue Jun 11 03:30:05 CEST 2024

Total time taken to generate the page: 0.01796 seconds