Webview (HTML Viewer) window size
Posted: August 10th, 2021, 11:09 pm
Dear CSPro Development Team,
I would like to display HTML page in a webview window that fit to content(Aka HTML viewer in CSEntry). An example from Josh (https://github.com/jhandley/cspro-D3-charts) can easily show the issue with the HTML Viewer window.
I think the HTML Viewer height and width are not controlled by the CSS or Javascript, but only with native settings (in Java on Android and other programming languages in Windows).
https://stackoverflow.com/questions/359 ... -to-screen
https://stackoverflow.com/questions/254 ... -to-screen
https://stackoverflow.com/questions/390 ... n-absolute
A solution would come in CSPro logic with some attributes in the view function that wrap native functions and allow us to fit the HTML Viewer windows size accordingly to contents (or window size defined in CSS).
Thanks in advance for your help!
I would like to display HTML page in a webview window that fit to content(Aka HTML viewer in CSEntry). An example from Josh (https://github.com/jhandley/cspro-D3-charts) can easily show the issue with the HTML Viewer window.
I think the HTML Viewer height and width are not controlled by the CSS or Javascript, but only with native settings (in Java on Android and other programming languages in Windows).
https://stackoverflow.com/questions/359 ... -to-screen
https://stackoverflow.com/questions/254 ... -to-screen
https://stackoverflow.com/questions/390 ... n-absolute
A solution would come in CSPro logic with some attributes in the view function that wrap native functions and allow us to fit the HTML Viewer windows size accordingly to contents (or window size defined in CSS).
Thanks in advance for your help!