ThRuST Well-Known Member Licensed User Longtime User Jul 12, 2019 #1 Like the headline says, how can this be done? It doesn't show it automatically as seen in the screenshot from my project Athena. It would be better if the horizontal scrollbar shows up. The vertical scrollbar works as expected. Can this be overrided somehow? please help out. Note that the two webviews uses each instances of their own, for browsing to work. I'm on Java 8 another screenshot Last edited: Jul 12, 2019
Like the headline says, how can this be done? It doesn't show it automatically as seen in the screenshot from my project Athena. It would be better if the horizontal scrollbar shows up. The vertical scrollbar works as expected. Can this be overrided somehow? please help out. Note that the two webviews uses each instances of their own, for browsing to work. I'm on Java 8 another screenshot
ThRuST Well-Known Member Licensed User Longtime User Jul 13, 2019 #2 It seems like the WebView control doesn't have a horizontal scrollbar, since the text is wrapped, at least when browing in the B4X forum. But as seen in the second image some sites does not wrap all text. Is it supposed to work this way? Upvote 0
It seems like the WebView control doesn't have a horizontal scrollbar, since the text is wrapped, at least when browing in the B4X forum. But as seen in the second image some sites does not wrap all text. Is it supposed to work this way?
Erel B4X founder Staff member Licensed User Longtime User Jul 14, 2019 #3 Most sites are "responsive". This means that they change the content based on the available width. Upvote 0
ThRuST Well-Known Member Licensed User Longtime User Jul 14, 2019 #4 I see. Is there a way to somehow override the default behavior of the WebView control to always show the scrollbars to deal with "older sites"? Upvote 0
I see. Is there a way to somehow override the default behavior of the WebView control to always show the scrollbars to deal with "older sites"?
Erel B4X founder Staff member Licensed User Longtime User Jul 14, 2019 #5 It should appear automatically when "needed". It happens for example on google.com. I don't think that there is any simple way to control it. Upvote 0
It should appear automatically when "needed". It happens for example on google.com. I don't think that there is any simple way to control it.
ThRuST Well-Known Member Licensed User Longtime User Jul 14, 2019 #6 Thanks, so it's up to the web designer to make sure it works as expected, so it's a good advice to use a responsive Javascript framework, or of course B4j technologies. I was thinking the Anchor properties has something to do with the WebView and scrollbars behavior so unless you point this out I assume thre's a tutorial for this that I never watched. I think the controls can remain fixed on each side of the pane so it probably has nothing to do with if scrollbars becomes visible or not! I should probably post a new question about this? Anchors is a new topic! Attachments upload_2019-7-14_14-20-50.png 18.1 KB · Views: 451 Upvote 0
Thanks, so it's up to the web designer to make sure it works as expected, so it's a good advice to use a responsive Javascript framework, or of course B4j technologies. I was thinking the Anchor properties has something to do with the WebView and scrollbars behavior so unless you point this out I assume thre's a tutorial for this that I never watched. I think the controls can remain fixed on each side of the pane so it probably has nothing to do with if scrollbars becomes visible or not! I should probably post a new question about this? Anchors is a new topic!