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

Best way to adjust font size to screen size

1 Answer 54 Views
Google Android
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
danparker276
Top achievements
Rank 2
danparker276 asked on 24 Apr 2014, 10:15 PM
What's the best way to adjust the size of some text in a label.  If I do it for a phone, it looks too small on a tablet.  Should I load a different style sheet or does the kendo ui mobile layout have something built in?

1 Answer, 1 is accepted

Sort by
0
Iva Koevska
Telerik team
answered on 28 Apr 2014, 11:42 AM
Hi Dan,

Your best bet would be to use a relative size unit like em instead of hard-coding it in pixels. If you take a look at the kendo.*.css file included in your project, you'll notice that em is widely used. You can read more about the CSS font-size property and the available CSS size units.

Hope this helps.

Regards,
Iva Koevska
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
Google Android
Asked by
danparker276
Top achievements
Rank 2
Answers by
Iva Koevska
Telerik team
Share this question
or