screen iPad pro 10.5 show control left > 1024

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

screen iPad pro 10.5 show control left > 1024

Post by jmburnod » Mon Jul 06, 2020 5:34 pm

Hi All
I noticed screen rect is larger on an iPad pro 10.5 inch than an iPad pro 9.7 inch.
The size of my stack = 1024X768, iPad pro 10.5 inch shows some controls with left > 1024.
How can i avoid this ?
Is fullscreenmode the magic word ?
Thanks in advance
Best regards
Jean-Marc
Image
Attachments
eep108_screeniPad105inch.png
eep108_screeniPad105inch.png (137.52 KiB) Viewed 3826 times
https://alternatic.ch

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: screen iPad pro 10.5 show control left > 1024

Post by jmburnod » Fri Aug 28, 2020 6:27 pm

Hi All,
set fullscreenmode from an optionmenu works only for the current cd on iPadPro 10,5 inch.
All works fine on OSX.
I hope that is not the case if fullscreenmode is choosed at preopenstack.
Is there someone who have encoutered this problem ?
Thanks in advance for help (I haven't this device for un quick test)
Best regards
Jean-Marc
https://alternatic.ch

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7214
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: screen iPad pro 10.5 show control left > 1024

Post by jacque » Sat Aug 29, 2020 7:19 pm

I always set fullscreenmode in preOpenStack and it works for all cards in the stack for the entire session. If you have substacks, you need to set it in each stack.

I've never seen it work on only one card. Do you have scripted placement on other cards? That might interfere.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: screen iPad pro 10.5 show control left > 1024

Post by jmburnod » Sat Aug 29, 2020 10:08 pm

Hi Jaque,
Do you have scripted placement on other cards?
Yes. Some cds needs to change location of controls according user's preferences
Thanks a lot
Jean-Marc
https://alternatic.ch

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7214
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: screen iPad pro 10.5 show control left > 1024

Post by jacque » Sun Aug 30, 2020 6:25 am

Brian Milby tried to use fullscreenmode and scripted placement together and decided it couldn't easily be done. You have to choose one or the other. If you need to script object placement for some controls then I think you'll have to script the placement of all controls everywhere.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: screen iPad pro 10.5 show control left > 1024

Post by jmburnod » Sun Aug 30, 2020 1:04 pm

First version of placement for all cds was done by an handler "initAllCD" called from preopenstack (with a send in time) but that was long
For this reason i use a customproperty "uToDo" of the cd and placements are only made if this is the first open time or if user changed.
I wonder what would happend if I set the loc of stack to the screenloc. I can live with margins on top, right, bottom.
https://alternatic.ch

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: screen iPad pro 10.5 show control left > 1024

Post by jmburnod » Wed Sep 09, 2020 1:51 pm

I tried

Code: Select all

set the loc of  this stack to the screenloc

but it doesn't work in this case.
Jean-Marc
https://alternatic.ch

Post Reply

Return to “iOS Deployment”