How to center text relative to visible screen when zooming

Find and share HowTos to various installations / configurations!
Search

Post Reply
2 posts • Page 1 of 1
slamkwon
Posts: 19
Joined: Wed Oct 10, 2018 2:20 am

How to center text relative to visible screen when zooming

Post by slamkwon »

Hi all,

Currently trying to show the percent of zoom when using ZoomModule() on a panel.
The range factor is 3 (300% zoomed or enlarged), so when using the scrollbutton, a number shows up displaying the zoom percent (100%-300%)

The problem I'm having is how to keep the text centered relative to the screen and not to the panel (a fixed location).
In other words, the percent zoom text should appear centered to the zoom and not centered to the panel.

Thanks in advance!

slamkwon
Posts: 19
Joined: Wed Oct 10, 2018 2:20 am

Re: How to center text relative to visible screen when zooming

Post by slamkwon »

Problem solved;

Made a SYMBOL and used the ModuleOnWithPanel(), moduleHide() functions to center the %value while using the scrollbar to zoom.

Thanks all

Post Reply
2 posts • Page 1 of 1