Re: correct iphoneSafeAreaInsets in iPad simulator?

2022-12-01 Thread Klaus major-k via use-livecode
Hi Ralph,

> Am 30.11.2022 um 22:37 schrieb Ralph DiMola via use-livecode 
> :
> 
> I did not have any problems on iPad Pro (11-inch) (3rd generation) simulator
> using iphoneSafeAreaInsets(). One thing I did notice that when you change
> rotation the resizestack handler is not firing. However it does work as
> expected on the device. LC or simulator bug?

maybe a simulator thing...

> Other than that, I have nothing.

You have answered, which is something. :-)

> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
> Of Klaus major-k via use-livecode
> Sent: Wednesday, November 30, 2022 3:40 PM
> To: How to use LiveCode
> Cc: Klaus major-k
> Subject: correct iphoneSafeAreaInsets in iPad simulator?
> 
> Sorry, here the link that does not automatically compresses an downloads the
> two images
> 

If someone wants to test my stack in the simulator or a real device, here a 
stripped down (one card) version:

Everything is in the card script.


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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


RE: correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Ralph DiMola via use-livecode
I did not have any problems on iPad Pro (11-inch) (3rd generation) simulator
using iphoneSafeAreaInsets(). One thing I did notice that when you change
rotation the resizestack handler is not firing. However it does work as
expected on the device. LC or simulator bug?

Other than that, I have nothing.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Klaus major-k via use-livecode
Sent: Wednesday, November 30, 2022 3:40 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: correct iphoneSafeAreaInsets in iPad simulator?

Sorry, here the link that does not automatically compresses an downloads the
two images



--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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


RE: correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Ralph DiMola via use-livecode
Klaus,

I see what you mean.

I had my resizing SW using a table that I just kept adding to as new models
were released. I gave up on that after the iPhone 14 pro was released. I now
use iphoneSafeAreaInsets(). It seems to work OK.

I will do some testing of one of my apps on the iPad Pro (11-inch) (3rd
generation) simulator.

Film at 11

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Klaus major-k via use-livecode
Sent: Wednesday, November 30, 2022 2:04 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: correct iphoneSafeAreaInsets in iPad simulator?

Additional info:
I resize the stack to proportionally to the devices screen dimensions.
And that works fine on all tested iPhone simulators.
These differences are only on these two iPad simualtors.

> Am 30.11.2022 um 19:59 schrieb Klaus major-k via use-livecode
:
> 
> Hi friends,
> 
> here two screenshots from my app in the Apple iPad simulator:
> <https://www.dropbox.com/sh/x4165mhvr61ldsg/AADEsPdI_rbtJHzCVOMF6woMa?
> dl=1>
> 
> Same app***, same scripting, same "resizestack" handler taking 
> iphoneSafeAreaInsets() into account and reposition objects accordingly.
> 
> ***Only difference is that I disabled the group of buttons in the middle
in one simulator.
> 
> Please notice the much larger area of empty space below the navigation 
> widget and above the text field at the top in the screenshot of the iPad
Pro (11-inch) (3rd generation).
> 
> Is this a bug, a feature or just some inconvenience of the simulator?
> 
> Any insight welcome, thank you!
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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


Re: correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Klaus major-k via use-livecode
Additional info:
I resize the stack to proportionally to the devices screen dimensions.
And that works fine on all tested iPhone simulators.
These differences are only on these two iPad simualtors.

> Am 30.11.2022 um 19:59 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi friends,
> 
> here two screenshots from my app in the Apple iPad simulator:
> 
> 
> Same app***, same scripting, same "resizestack" handler taking 
> iphoneSafeAreaInsets()
> into account and reposition objects accordingly.
> 
> ***Only difference is that I disabled the group of buttons in the middle in 
> one simulator.
> 
> Please notice the much larger area of empty space below the navigation widget 
> and above 
> the text field at the top in the screenshot of the iPad Pro (11-inch) (3rd 
> generation).
> 
> Is this a bug, a feature or just some inconvenience of the simulator?
> 
> Any insight welcome, thank you!
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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