# Windows scale and layout

**URL:** <https://forum.inductiveautomation.com/t/windows-scale-and-layout/48002>\
**Category:** Ignition\
**Tags:** vision, ignition80\
**Created:** [June 21, 2021, 7:46am UTC](https://forum.inductiveautomation.com/t/windows-scale-and-layout/48002 "2021-06-21T07:46:58Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 22, 2021, 12:12pm UTC](https://forum.inductiveautomation.com/t/windows-scale-and-layout/48002/7 "2021-06-22T12:12:15Z")

</div>

Knowing your resolution may help decide if the transform is necessary or not.

> [@How to get vision client resolution](http://forum.inductiveautomation.com/t/how-to-get-vision-client-resolution/27328/4):
>
> Updated. Note this this doesn’t work in Java 8, as it always returns 100% scaling, for some reason. Java 11 seems to be okay. man_shrugging import java.awt gd=java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice() width = gd.getDisplayMode().getWidth() height = gd.getDisplayMode().getHeight() dpi = java.awt.Toolkit.getDefaultToolkit().getScreenResolution() tf = gd.getDefaultConfiguration().getDefaultTransform() print 'resolution:', width, 'x', height print 'dp…

---

_[View the full topic](https://forum.inductiveautomation.com/t/windows-scale-and-layout/48002)._
