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

Controls size after upgrade

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ghini
Top achievements
Rank 2
ghini asked on 26 Sep 2016, 08:46 AM

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

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 26 Sep 2016, 09:29 AM

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.
Tags
General Discussions
Asked by
ghini
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
Share this question
or