Using Windows and Ignition 8.1
I have a navigation popup that due to animation can’t be a docked window, and I need to set the popup location to a fixed X position (0), but vertically centered in the screen.
I’m opening the popup using the system.nav.swapTo() function and then using .setLocation on the returned window object.
Right now we are using the system.gui.getScreens() to get the screen height, but that doesn’t take into consideration the scale factor that might be present on that screen.
Is there anyway to use the .setLocation to set the window vertically centered? Or is there a way to grab the scaling factor used on the screen? Or even better get the actual usable resolution of the screen with the scaling factor applied?