0
Answered
iPad vs iPad Mini
Wouter van der Post 7 years ago
in Applications / i3 Pro
•
updated by Aleksandr Romanov (CTO) 7 years ago •
4
Hello,
Is there a way to know if the client is running on an iPad or an iPad Mini?
The resolution of an iPad Air 2 and iPad Mini 4 are the same (2048x1536) so I don't have to scale my app, I only want to increase the button sizes if running on an iPad Mini.
Thanks.
Customer support service by UserEcho
Hello!
If you do not change the resolution of the project, you will need to change the size of each button manually.
But you can automate this process through scripts.
For example:
Change Buttons Size.irpz
And unfortunately, you can not find out on which device the project is running. That is, you can not determine on which iPad the project is running.
Thanks for the script. I see that you use ScaleX and ScaleY to make the buttons larger.. in my case I only want to increase the FontSize on the button.
I've tried to modify that using:
But it does not seem to work. Can you elaborate on this issue?
Hi, Wouter
You can't change FontSize - a font of a specific size is loaded into memory when it is created. The only way is to create a new font of a different size and replace it with an element.