FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

listview ColumnHeader vs listview rows

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
jicman



Joined: 22 Dec 2004
Posts: 298
Location: Rochester, NY

PostPosted: Sat Apr 28, 2007 5:06 pm    Post subject: listview ColumnHeader vs listview rows Reply with quote

Greetings.

I know I can change the the listview horizontal alignment with
Code:

col.textAlign = dfl.base.HorizontalAlignment.CENTER;

but, what if I just want the headers to be centered and not the rows?

Thanks.

jic
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Sun Apr 29, 2007 12:28 pm    Post subject: Re: listview ColumnHeader vs listview rows Reply with quote

I don't recall it being possible, but you could be clever and do some measurements and insert some spaces in front of the column header text.
Back to top
View user's profile Send private message
jicman



Joined: 22 Dec 2004
Posts: 298
Location: Rochester, NY

PostPosted: Sun Apr 29, 2007 12:44 pm    Post subject: Re: listview ColumnHeader vs listview rows Reply with quote

Chris Miller wrote:
insert some spaces in front of the column header text.


Yes, that's is how I am doing it now... thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group