Page 1 of 1

Openwindow: Content Sizing, and more

Posted: Mon Jul 11, 2016 7:29 am
by jamirokwai
Hi there,

I'd like to suggest automatic content scaling to windows by using a flag like #PB_Window_Autoscale, and #PB_Window_ScaleKeepRatio.
Also, it would be interesting to add a class to the surrounding window-div, e.g. spiderbasic-windowdiv.

Best,
J.

Re: Openwindow: Content Sizing, and more

Posted: Mon Jul 11, 2016 5:06 pm
by the.weavster
Have you looked at the dialog commands? With a DialogWindow you can use hbox and vbox to arrange your gadgets and then they resize as the window is resized.

Re: Openwindow: Content Sizing, and more

Posted: Mon Jul 11, 2016 8:51 pm
by jamirokwai
the.weavster wrote:Have you looked at the dialog commands? With a DialogWindow you can use hbox and vbox to arrange your gadgets and then they resize as the window is resized.
Yes, thanks, that's a nice function. But my web-app will open and close many windows during a session based on JSONs fetched from my server. Maybe, I can adept my routine for opening a window to the dialog-function. Will see...

Nonetheless, would be nice to see a flag like I proposed :-)

Cheers
J.