Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic image in timetable view (Read 2510 times)
Igor
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Feb 7th, 2008
image in timetable view
Feb 7th, 2008 at 12:14pm
Print Post  
How i can resize image by item size in timetable view? When my image bigger that item it cut, but i need to see all image (resize).
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: image in timetable view
Reply #1 - Feb 7th, 2008 at 2:04pm
Print Post  
Try setting the value of the ImageAlignment property of the Style of the item whose image you are trying to resize. For example, if item represents a variable referencing the item of interest, the following code will make the image fit within the item:

Code
Select All
item.Style.ImageAlignment = ImageAlignment.Fit; 


Meppy
  
Back to top
 
IP Logged
 
Igor
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Feb 7th, 2008
Re: image in timetable view
Reply #2 - Feb 7th, 2008 at 2:11pm
Print Post  
I have done this earlier. This work in another views  but not in timetable.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: image in timetable view
Reply #3 - Feb 8th, 2008 at 7:03am
Print Post  
It seems the item image in a Timetable view is considered to be an icon and is always rendered in the top left corner of the item. For the moment, you can walk around this by using custom drawing on items in order to render the associated image with the desired size.

Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint