scaleFactor strangeness
Terry Judd
terry.judd at unimelb.edu.au
Tue Oct 13 19:11:13 EDT 2015
Yep, gotcha. On mobile you’d have to inversely rescale and dynamically
reposition the slider control at the same time. Hard to see that working
smoothly.
Terry...
On 14/10/2015 9:54 am, "use-livecode on behalf of Scott Rossi"
<use-livecode-bounces at lists.runrev.com on behalf of
scott at tactilemedia.com> wrote:
>There's a more substantial limitation, Terry: it's not possible to display
>objects that remain unaffected by the scaleFactor within a stack that is
>changed by the scaleFactor.
>
>What I had envisioned was something along the line of Google maps, where
>you have a floating slider overlaid on the map that scales the map up and
>down. Because the scaleFactor affects all contents within the stack
>window, any control you include to adjust scaling will itself get scaled,
>making this type of control arrangement unusable. That's why the slider
>in the demo is contained in a separate window. On desktop, you could fake
>a "built-in" slider control on top of the map using a custom windowShape,
>but obviously that won't work on mobile.
>
>Anyway, if LiveCode isn't able to keep the stack perfectly sized while its
>contents are scaled up and down, this direction isn't a good one for
>scaling effects.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 10/13/15, 3:41 PM, "use-livecode on behalf of Terry Judd"
><use-livecode-bounces at lists.runrev.com on behalf of
>terry.judd at unimelb.edu.au> wrote:
>
>>Good demo Scott. It doesn¹t look so bad if you set the stack¹s fullscreen
>>property to true but that¹s probably not that useful on desktops.
>>
>>Terry...
>>
>>On 14/10/2015 9:17 am, "use-livecode on behalf of Scott Rossi"
>><use-livecode-bounces at lists.runrev.com on behalf of
>>scott at tactilemedia.com> wrote:
>>
>>>Believe me, Marty, that was the first thing I asked about. I sent them
>>>a
>>>demo stack that illustrated the limitations of the effect, but they said
>>>they couldn't make the behavior work the way I (and you) want.
>>>
>>>You can try the demo stack via your message box:
>>>go url "http://tactilemedia.com/download/WindowScalingExample.livecode"
>>>
>>>
>>>Regards,
>>>
>>>Scott Rossi
>>>Creative Director
>>>Tactile Media, UX/UI Design
>>>
>>>
>>>
>>>
>>>On 10/13/15, 3:01 PM, "use-livecode on behalf of Marty Knapp"
>>><use-livecode-bounces at lists.runrev.com on behalf of
>>>martyknappster at gmail.com> wrote:
>>>
>>>>Hey Scott,
>>>>It would nice to see this developed more for sure. At this point, I'd
>>>>settle for something even quasi - elegant, just for my users to be able
>>>>to have a magnified view of the screen.
>>>>
>>>>Marty
>>>>> Many of us tried to do the same thing when the feature was first
>>>>> announced. Unfortunately, you can't really use it for a zoom effect,
>>>>>at
>>>>> least not since I last looked into this. As you've seen, the stack
>>>>>jumps
>>>>> around as the scale is changed, and even if you reposition it
>>>>>dynamically,
>>>>> the results aren't the best.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Scott Rossi
>>>>> Creative Director
>>>>> Tactile Media, UX/UI Design
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 10/13/15, 12:57 PM, "use-livecode on behalf of Marty Knapp"
>>>>> <use-livecode-bounces at lists.runrev.com on behalf of
>>>>> martyknappster at gmail.com> wrote:
>>>>>
>>>>>> I'm playing around with scaleFactor on a desktop app as sort of a
>>>>>>"zoom
>>>>>> view" feature. But there are some weirdnesses about it, especially
>>>>>>in
>>>>>> terms of screen placement. For example, when the scaleFactor is
>>>>>>anything
>>>>>> but 1, setting the loc of a stack is way off. Like setting the loc
>>>>>>of
>>>>>>a
>>>>>> stack to the screenLoc does not place it at the center of the
>>>>>>screen.
>>>>>>
>>>>>> It would be nice to be able to scale a window in/out from the
>>>>>>topLeft
>>>>>>or
>>>>> >from the center of the stack too.
>>>>>> I tried a few things, but nothing I came up with was very
>>>>>>acceptable.
>>>>>> Anybody else played with this?
>>>>>>
>>>>>> Marty K
>>>>>>
>>>>>> _______________________________________________
>>>>>> use-livecode mailing list
>>>>>> use-livecode at 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 at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>>subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>>>
>>>>--
>>>>Best regards,
>>>>Marty Knapp
>>>>Knappster Solutions LLC
>>>>---------------------------
>>>><www.CheckBuilderPro.com>
>>>><www.TheCheckPrintshop.com>
>>>>
>>>>
>>>>_______________________________________________
>>>>use-livecode mailing list
>>>>use-livecode at 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 at 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 at 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 at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list