Change radwindow titlebar height, skin/color and font

5 posts, 0 answers
  1. Fakhrul
    Fakhrul avatar
    26 posts
    Member since:
    Aug 2008

    Posted 17 Mar 2009 Link to this post

    Hi,

    How can i change radwindow titlebar height, skin/color and font of text?  If possible provide some sample code for each.

    Thanks in advance!

    Fakhrul
  2. Fakhrul
    Fakhrul avatar
    26 posts
    Member since:
    Aug 2008

    Posted 18 Mar 2009 Link to this post

    Is this possible? Is there no solution for this?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 19 Mar 2009 Link to this post

    Hello Fakhrul,

    You can achieve the desired behavior by  creating a custom skin.



    Greetings,
    Fiko
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. J2K
    J2K avatar
    33 posts
    Member since:
    Sep 2005

    Posted 07 Jan 2014 Link to this post

    Build a new skin???? That's it??? There's no way to fix the problem that your haphazard work on built in skins results in letters being chopped (such an english "g") since you apparently didn't leave sufficient height for your selection of font/font-size???
  6. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3597 posts

    Posted 08 Jan 2014 Link to this post

    Hello,

    Could you share with us a small snippet that shows the issue you are experiencing and a screenshot from it?

    I am asking for this because things seem to look fine on my end with this:
    <telerik:RadWindow runat="server" Title="qtypfghjl" VisibleOnPageLoad="true"></telerik:RadWindow>

    These are letters that have elements below or above the standard small height of most other letters. You can find a screenshot attached here as a reference.


    What I can suggest at this point is the following:
    - try upgrading to the latest version. The thread is originally from the beginning of 2009 and it is possible that there may have been some bug 5 years ago
    - try the lightweight RenderMode: http://www.telerik.com/help/aspnet-ajax/window-render-modes.html.
    - if neither helps, examine the rendered HTML in the browser's dev toolbar and see how to override the title's CSS. Here is a small example for the Classic rendering, with the lightweight mode it should be even easier to customize it:
    div.RadWindow .rwTitleRow em
    {
        line-height: 12px;
        font-size: 12px;
        height: 16px;
    }

    This will bring the title element slightly up so there is more room for the lower portions of the letters.

    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017