appointment font size: chrome vs IE

2 posts, 0 answers
  1. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 10 Mar 2011 Link to this post

    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

  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 15 Mar 2011 Link to this post

    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!
Back to Top