Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Vertical alignment of expansion indicator

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
MHB



Joined: 04 Apr 2005
Posts: 69

PostPosted: Fri Oct 21, 2005 4:32 pm    Post subject: Vertical alignment of expansion indicator Reply with quote

It seems that the expansion indicator is always shown vertically centered, whether I set RowStyle.VertAlignment to Center or Near. And I've tried using RowStyle on the tree and on the rowbinding, but it makes no difference. Is this intended?
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sun Oct 23, 2005 11:15 pm    Post subject: Reply with quote

This was intentional. The RowStyle alignment was originally only intended to affect text. We could change this to also affect the location of the expansion indicator (probably only the vertical). The problem is that you typically want text to have near vertical alignment and the expansion indicator to be centred. We may need a separate property for the expansion indicator alignment if you want to be able to control that separately. Will we add this to our feature request list?
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
MHB



Joined: 04 Apr 2005
Posts: 69

PostPosted: Mon Oct 24, 2005 10:33 am    Post subject: Reply with quote

Infralution wrote:
Will we add this to our feature request list?

That would be nice Smile

The thing is, when a cell in a row contains a lot of text, and hence the row is rather high (using AutoFitHeight), then it looks odd with the expansion indicator centered, especially if the main (left-most) cell only contains one line which is vertically aligned to top. And this is the case most of the time in my project Wink

Horizontal alignment seems inappropriate - is there ever more space than needed for the expansion indicator?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
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