This is a migrated thread and some comments may be shown as answers.

appointment font size: chrome vs IE

1 Answer 22 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 10 Mar 2011, 05:39 PM
Hello

I've looked at a lot of posts regarding formatting problems for appointments but am still having an issue...I want to increase the font size of appointments in day view to 14pt for printing purposes and have done so in the following way:

<telerik:RadScheduler ID="RadScheduler1" runat="server" DataKeyField="ID" DataStartField="appStartTime"
                DataEndField="appEndTime" DataSubjectField="appSubject" DataSourceID="SqlDataSource2"
                Skin="Sitefinity" CustomAttributeNames="resourceLabelColour" >
</telerik:RadScheduler>


Private Sub RadScheduler1_AppointmentCreated...

        e.Appointment.BackColor = System.Drawing.Color.FromName(e.Appointment.Attributes("resourceLabelColour"))

        Dim i As System.Web.UI.WebControls.FontUnit
        i = 14
        e.Appointment.Font.Size = i

End Sub


In Chrome everything looks fine, however in IE 8 the bottoms of the letters get cut off (please see the two attached screenshots).  I have tried changing various CSS properties but am not able to get it looking right in IE...

Thanks for any suggestions

Brian

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 15 Mar 2011, 10:57 AM
Hi Brian,

This problem is specific to IE7
http://stackoverflow.com/questions/699653/why-is-my-text-being-cut-off-in-ie7

You can try the following workaround:

.rsAptContent
   {
        line-height: 2em !important;     
   }


Kind regards,
Peter
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Scheduler
Asked by
Brian
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or