Centering in any display resolution

Sergej Filippov shared this question 2 years ago
Answered

Hi!


How to use show event with group of objects so they will be displayed at the center of display regardless display resolution and size?

Comments (5)

photo
1

Hi Sergej,


Have you tried using the "Center Screen's content" option?


351a570699894bb6061853f173b6ed8a


Best,


Sonia Durán

photo
1

Hi!


Thank you for your prompt response.


Here is my vp project file simulating simple show rectangle pop-up.


https://yadi.sk/d/aIXkC13AsuXFN


Center screen’s content is selected. Screen resolution of project is 1366x768.


So when I simulate it on screen display with resolution 1280x800 the rectangle is not centered.


Screenshot: https://goo.gl/cj2wtS


I just want to make sure that in user testing stage pop-ups in prototype will be centered regardless of users’ screen resolution and size.

photo
1

Hi Sergej,


Our "center screen's content" feature centers the whole canvas surface not just an specific element. See the example attached.


https://www.dropbox.com/s/tkud06753h8...


Best,


Sonia Durán

photo
1

Ок. thank you very much.


But how to center a specific element regardless screen size?


Do I need to use "move to" event and some conditions like window size.


Or there is a more simple way?

photo
1

Hi Sergej,


In order to provide you the best solution, can you please send your vp file so we can see the specific elements. You can share your prototype file through Dropbox/Wetransfer here.


Also, in case you are a client (subscription/license) you can use our Customer Support Portal.


Best,


Sonia Durán