I'm developing a webapp and in Ubuntu 14.04 I have this doubt:
Can I resize the window width from a web app? How?
For @terdon question:
The app is opening always like this:
I'd like open the app with this width:
Thanks in advance!
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Thanks to the kindness of a developer, I can give some information to my questions.
I can't resize the window as a W3C standard operation; There isn't an explicit APIs for that, and generally move away from letting apps manage their sizes, to prepare for the desktop convergence. You should assume that the shell will present you in an appopriate way; You must to add / obseve some viewport metadata at some point to know whether you are a side-stage app or a fullscreen one.