kisoft Well-Known Member Licensed User Longtime User Mar 17, 2019 #1 HI I browse text files (html) using webview. B4X: Private xui As XUI WebView1.LoadUrl(xui.FileUri(File.DirAssets, "file1.html")) Is it possible to change the font size of the displayed text with the help of the code? P.S I know that the user can enlarge the whole view, but then part of the text goes out of the screen. Reading a text becomes a nuisance to the user.
HI I browse text files (html) using webview. B4X: Private xui As XUI WebView1.LoadUrl(xui.FileUri(File.DirAssets, "file1.html")) Is it possible to change the font size of the displayed text with the help of the code? P.S I know that the user can enlarge the whole view, but then part of the text goes out of the screen. Reading a text becomes a nuisance to the user.
Erel B4X founder Staff member Licensed User Longtime User Mar 17, 2019 #2 The font size is part of the page style. You can modify the html text or the embedded CSS style to change the size. Upvote 0
The font size is part of the page style. You can modify the html text or the embedded CSS style to change the size.