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 

Unwanted resizing of Picture in Column

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



Joined: 15 Sep 2009
Posts: 5
Location: Pretoria, South Africa

PostPosted: Tue Sep 15, 2009 11:15 am    Post subject: Unwanted resizing of Picture in Column Reply with quote

Hi

I have a column in one of my virtual trees that must just display a picture( 32x32, it is for displaying a result; correct or incorrect). The pictures is and must display 32x32 but stretches the entire space of the column width. I have set the CellData.PreviewSize = Size(32,32), but it does not work so obviously i am doing something wrong or not doing something that i should.

All data binding is done programattically, since I am not binding to a database.
Back to top
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Sep 15, 2009 10:30 pm    Post subject: Reply with quote

If CellData.ShowText is set to true then the PreviewSize width is used to determine the size of the preview and the text fills the remaining area. If CellData.ShowText is false then the PreviewSize width is not used and the preview fills the column. If you want your preview to be a fixed size and don't want to show text then the easiest solution is to set the size of your column appropriately and set Column.Resizable to false to prevent the user resizing it.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
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