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 » Community » Newbie corner » GridCtrl + rich texts
Re: GridCtrl + rich texts [message #36988 is a reply to message #36987] Sun, 05 August 2012 01:53 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
idkfa46 wrote on Sun, 05 August 2012 00:38

I was trying to change column alignment (with QTFDisplay) by .AlignLeft() but nothing happen ... It's always at center

Technically, the GridQTFDisplay class forwarding GridDisplay Paint function through QTFDisplay Paint function, which doesn't use information about style variable, therefore GridCtrl align functions not applicable here.

Just use QTF paragraph formatting, e.g. "[< Left]", "[= Center]", "[> Right]", but "<" is by default (and not necessary for this case).
Now, you could understand why it was on the center.

[Updated on: Sun, 05 August 2012 02:26]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MoveableAndDeepCopyOption inherite to use a VectorMap ?
Next Topic: Adjusting the Z order of a dialog window?
Goto Forum:
  


Current Time: Wed Apr 24 19:12:59 CEST 2024

Total time taken to generate the page: 0.02046 seconds