Openwindow: Content Sizing, and more

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
jamirokwai
Posts: 40
Joined: Fri Sep 25, 2015 12:00 pm

Openwindow: Content Sizing, and more

Post 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.
the.weavster
Posts: 222
Joined: Sat Mar 01, 2014 3:02 pm

Re: Openwindow: Content Sizing, and more

Post 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.
jamirokwai
Posts: 40
Joined: Fri Sep 25, 2015 12:00 pm

Re: Openwindow: Content Sizing, and more

Post 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.
Post Reply