Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-16 Thread Sannyasin Brahmanathaswami via use-livecode
OK with the help of Brian off list I go something going! But I have a confession to make and a bug to report 1) in middle of the script, in logging, I used a Put "somevalue" into fld "log" Which of course removed anything before that, including a "resize" stack, which had log entries. 2)

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-13 Thread Brian Milby via use-livecode
I'll send a copy of the stack separately, but here are my thoughts: - Caveat that I only have an Amazon Fire available for testing - resizeStack does get called, before openCard on card Loader - no field "log" exists on card "Loader" which is probably why resizeStack was not working - I added

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-13 Thread Sannyasin Brahmanathaswami via use-livecode
Jacque: BR: I am not using fullscreenMode, (in just one module) more and more I'm seeing it woefully inadequate from "professional design" point of view. In any case, just for now we want the browser and in YouTube stack on fill the screen. No letter/pillarboxing etc. and the nav bar

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-13 Thread Brian Milby via use-livecode
It will take a bit to respond to the rest, but I am not surprised to see a resizeStack on open if the app was built at a size different than the screen size of the device. On an Amazon Fire the screen/stack delta is the header bar at the top of the screen.  What is strange to me is that the

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-13 Thread J. Landman Gay via use-livecode
On 5/13/19 9:59 AM, Sannyasin Brahmanathaswami via use-livecode wrote: 2) The resizestack in not firing automatically in many cases. It normally doesn't fire if you're using fullscreenMode. But if you use mobileSetFullScreenRectForOrientations, then it does send a resizeStack message. From

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-13 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > 1) You cannot get the coordinates of anything on start up or opencard. "anything" is vast. On mobile, resizeStack should be sent to your stack before it is first rendered. Its arguments are the width and height of the stack. Given a card's origin always

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-13 Thread Sannyasin Brahmanathaswami via use-livecode
Brain Wrote What fullScreenMode are you in when the stack opens? What mode when the rotation happens? === BR I am trying to do dynamic geometry. Trying to deal with iPhone X (height) as well as 9 X 18 Android (my Moto6) --"fullScreenMode" interferes with your own

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-10 Thread Brian Milby via use-livecode
What fullScreenMode are you in when the stack opens?  What mode when the rotation happens? Thanks, Brian On May 10, 2019, 10:08 AM -0400, Sannyasin Brahmanathaswami via use-livecode , wrote: > I put a "breakpoint" into > > On resizestack x,y, > Breakpoint > [snip code] > > End resize stack > >

Resize Stack Sent Everytime a Stack Opens?

2019-05-10 Thread Sannyasin Brahmanathaswami via use-livecode
I put a "breakpoint" into On resizestack x,y, Breakpoint [snip code] End resize stack At least on Android, this being called every time the stack opens. But it doesn't mention that in the dictionary OTHO If you turn for phone sideways (to "landscape") it is not called. Even though