How do I 'scale' the UI to a readable size

1.7k Views Asked by At

When I display my app on a device, the fonts, icons and buttons are unusably small. This is especially true on a tablet.

How can I easily scale up all of of my UI components?

1

There are 1 best solutions below

2
On BEST ANSWER

Make sure the following meta tag is included in your app html file:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">

If you still feel that the buttons and text are to small (which the should be a personal preference) you could always try changing the css. Add a new rule like this:

body {
    font-size: 140% !important; //I believe 114% is default
}

Hope it helps.