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

Text alignment

1 Answer 50 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 24 Dec 2008, 04:07 PM
Hi

I am having problems with the text alignment on the rad scheduler. I set an appointment like so

 

<AppointmentTemplate>

 

 

 

<asp:Image ID="Image1" runat="server" ImageUrl='<%# "~/Main/Sys_Shared/Images/icons/" + Eval("ActivityType")+ ".gif" %>' />

 

 

<asp:Literal ID="AppointmentSubject" runat="server" Text='<%# Eval("Subject") %>'></asp:Literal>

 

 

 

</AppointmentTemplate>

It has a small image in it and then the subject of the appointment. However in for example the day view the text is right at the bottom of the appointment and is cut off at the base of the font. I've tried looking to see if the was an alignment property or somehting that might sort it but no luck.

Any ideas what may be causing this?

Thx
 
Gary.

 

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 26 Dec 2008, 02:44 PM
Hi Gary,

There is some vertical padding applied by default. You can use the following CSS rule which will override the default vertical padding:

    <style>
    div.RadScheduler .rsAptContent
    {
     padding-top:0;
     padding-bottom:0;
    }
    </style>

Sincerely yours,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Gary
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or