Controls size after upgrade

2 posts, 0 answers
  1. ghini
    ghini avatar
    25 posts
    Member since:
    Sep 2012

    Posted 26 Sep Link to this post

    Hello to all,
    since I use ASP.NET AJAX UI v 2016.2.607 I found that web controls are larger and with more padding. I thought it was due to the new Skins Bootstrap but the controls remain large even with the old skin Metro or Default. Depends on what?

    This becomes a problem when I have to update a Visual Studio 2015 Project to the new version of Telerik controls 2016.2.607. The layout is compromised by the new size of the controls.

    I attach a JPG that demonstrates the problem

    Thanks so much

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 26 Sep Link to this post

    Hello,

    This is probably related to the elastic capabilities of the controls when RenderMode==Lightweight and the lack of font on the page. You can read how the controls work with fonts here: http://docs.telerik.com/devtools/aspnet-ajax/general-information/controlling-visual-appearance/fonts.

    I suggest adding a rule similar to the following:

    body {
        font-size: 14px;
        font-family: "Segoe UI", Arial, Sans-serif;
    }

    or the following to fall back to the 12px font-size the Classic mode used:

    body {
        font-size: 12px;
        font-family: "Segoe UI", Arial, Sans-serif;
    }

    Regards,

    Marin Bratanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top