As an Appway developer, I've noticed that, in my Appway Solution, the font size is unusually large and other screen elements are displayed incorrectly in the Workspace. How can I solve this issue and return to an adequate font size and correct element positioning?
Due to an issue affecting several browsers (including Chrome and Internet Explorer), your minimum font size has automatically been changed to a value higher than 0. Such browsers use the minimum font size value to calculate the dimensions of all the elements on the web page whose size is defined in rems.
Rem is the unit of measurement used by Appway in versions previous to 7.2.16 (Component Extension 7.2.15), 8.1.3 and 9.0.2; the latest versions use pixels instead. Therefore, if your Solution is based on previous Appway versions, some screen elements might be displayed as unusually large and the Workspace user might also have noticed it.
To fix this issue permanently, you need to remove all rems form your Appway Solution. To do so, follow these steps:
- Upgrade your Appway solution to the latest patch version. Minimum versions are 7.2.16 (Component Extension 7.2.15), 8.1.3 or 9.0.2 (see also the System Upgrade guide for more information).
- If your Solution uses Design System 4 or 5, upgrade it to the latest patch version as well. Minimum versions are 4.5.3 for Appway 7.2, and 5.1.4 for Appway 8.1 (see also the Design System Upgrade Guide for more information).
Design System 6.0, compatible with Appway 9.0, is not affected.
- If some custom CSS is still in use in your Solution, make sure you replace all occurrences of rem with px.
- Finally, change the minimum font size in your browser (e.g see the Chrome example in this recipe) and make sure that everything works as expected.
If you are a Workspace user and you are affected by incorrect font and element size Issues, check the Solving Incorrect Font and Element Size Issues in your Appway Solution recipe, or contact your Appway representative in case of doubt.