I am using StageWebView to show text pages, it gives me the feature of scaling and panning and all kind of features that are part of the browser, which are taken care of for me. I don't open an online html page, and I also don't open a local html page, this would created a security problem. What I do is I create the basic html at runtime with code, then I read a text file that is stored locally, and insert the text at the body of the html page. works find, but I want the text width to fit the stage width when I scale it, meaning when I scale the html page, the text becomes bigger, which is what I wanted, but the words are not wrapping to fit the size of the stage, even though I did put wrapping in the css class, that is because the text fits the size of the page, not of the bowser, there must be a way to make the html page fit the browser, or some other solution of this kind.
Any suggestion would be appreciated.