Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Appointment Header Text Issue (Read 2463 times)
bpeacock
YaBB Newbies
*
Offline


War Eagle!

Posts: 14
Joined: Mar 8th, 2007
Appointment Header Text Issue
Mar 14th, 2007 at 5:04pm
Print Post  
When displaying an appointment on the calendar in timetable view, the header text gets chopped off and looks like this.  "Header..."  The cell is large enough to display the entire header text value.  Is there a style or size setting to fix this?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Appointment Header Text Issue
Reply #1 - Mar 14th, 2007 at 5:55pm
Print Post  
The control reserves some space for text margins - try setting smaller margins using the Style.HeaderText*Margin  properties.

Stoyan
  
Back to top
 
IP Logged
 
bpeacock
YaBB Newbies
*
Offline


War Eagle!

Posts: 14
Joined: Mar 8th, 2007
Re: Appointment Header Text Issue
Reply #2 - Mar 15th, 2007 at 11:27am
Print Post  
Thanks for the reply.  I am still not getting this.  I am looking at the appointment object that I am adding to the calendar. 

//create the object
Appointment appt = new Appointment();

//set some of the properties
appt.AllDayEvent = true;
appt.HeaderText = "Some text here";
appt.StartTime = "Some time";
appt.EndTime = "Some end time";

//Add the appointment to the calendar schedule
this.calendar1.Schedule.Items.Add(appt);

Question: Is the style on the appointment object or at the calendar control level?  I have looked all over both and can't seem to find margin properties.

Thanks

  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Appointment Header Text Issue
Reply #3 - Mar 15th, 2007 at 11:48am
Print Post  
Margin properties are relatively new feature and might not be present in your version of Planner.NET. Even if they are present, their default values are 0 and should not affect text visualization unless changed.

Anyway, It is unusual that the text gets cut if there is enough space to contain it. The only thing I can suggest is to increase the general size of the items by setting Calendar.ItemSettings.Size to a bigger value. If this doesn't help I will appreciate it if you can send me a sample application where this text clipping occurs.

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