OK. I had a look. It works for me (I tested option 1). I'm (still) using the hulahop engine.
On Thu, Sep 5, 2013 at 9:11 AM, Kees Bos <[email protected]> wrote: > > On Sep 2, 2013 4:54 PM, "Clavier" <[email protected]> wrote: > > > > Hi. > > > > I want to set the initial desktop window size of pyjamas, but it is not > working. Two solutions were discussed before (in > https://groups.google.com/forum/#!topic/pyjamas-dev/WzNwuHl43i8), but > both are not working in the current version. > > > > 1. pyjd.setup("http://localhost:10111/MainPy.html", width=200, > height=800) > > > > I looked up the source code of pyjd.setup(), and I found that the > parameters width and height were ignored in the current version. I guess > that it used to work, but got broken after some version. > > > > 2. pyjamas.Window.resize(width=200, height=800) > > > > According to the source code, Window.resize() simply calls > wnd().resize(). It doesn't work too. > > > > In desktop version, window sizing is essential. Is there some other way > I can try? > > > > Thanks in advance. > > > I'll try to find some time to look into this next week. > > BTW. What engine are you using for pyjd? > -- --- You received this message because you are subscribed to the Google Groups "Pyjs.org Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
