Marty,

Thanks, that seems to be a good idea. I don’t have option menus, and I could 
reset the window position after the scaling.

Peter

> On Oct 20, 2017, at 4:11 PM, Marty Knapp via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi Peter,
> I was faced with the same issue and for me I ended up adding a "View" menu to 
> the menubar with user selectable sizes. Since scaleFactor was not really 
> meant to be used this way there are some drawbacks, the main one being that 
> the window will move on screen. It will not grow/shrink from the top-left 
> corner. I've also run into an issue with option menus. If you have more items 
> than fit and therefor require the menu items to scroll, it won't work - it 
> only works reliably at 100%
> 
> Marty
>> Hi,
>> 
>> I’m needing to allow the user resize a stack window using scaleFactor and am 
>> needing advice about interface.
>> 
>> First of all, I see that some Livecoders are using scripts to scale controls 
>> and text when the user drags the stack size larger or smaller. In my case, 
>> there are too many controls and text layout is too sensitive, and I really 
>> don’t need the improvement in resolution to use that method. In my case:
>> 1. Default size is good for most people
>> 2. Some have 12” laptops that make the window just a tad too large to fit
>> 3. Some have larger screens whereby they might want to expand the window to 
>> fill more space
>> 
>> For the too-small issue, I can automatically scale the window at start up. 
>> However, how do I present the choice to the user to manually make the window 
>> larger/smaller?
>> 
>> Clicking on the zoom box resizes the window, not scales it—no good. Is there 
>> a message that can be intercepted to scale instead of zoom?
>> 
>> Do I otherwise (working with the stack with size locked) add drag controls 
>> to the edges of the window that scales when dragged? Does anyone have 
>> scripts for that?
>> 
>> Or should this be some kind of preference item?
>> 
>> Thanks,
>> 
>> Peter Bogdanoff
>> ArtsInteractive
>> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to