Stretch to Fit Height Issue
Running a basic application in the example html provided on the CheerpJ website. My html code is effectively identical to the 'basic HTML example ' with the exception of using my own JAR files.
Issue: I am attempting to fill the frame with
cheerpjCreateDisplay(-1, -1, document.body)
. This results in the CheerpJ work area compressing into a single line at the top of the screen, it is treating -1 Height as, well, negative 1 instead of filling available area.
-1 for Width works perfectly, no issue.
non-negative values for Height work perfectly, no issue.
This is occurring in Chrome and Edge browsers.
Known issue? Am I missing something basic? I surmise that since the Width is expanding correctly that my syntax is correct.2 Replies