# \[Bug-14328, Feature-13043\]Scale dock windows size for 4K display

**URL:** <https://forum.inductiveautomation.com/t/bug-14328-feature-13043-scale-dock-windows-size-for-4k-display/28089>\
**Category:** Ignition\
**Created:** [September 7, 2019, 8:35am UTC](https://forum.inductiveautomation.com/t/bug-14328-feature-13043-scale-dock-windows-size-for-4k-display/28089 "2019-09-07T08:35:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [September 7, 2019, 8:35am UTC](https://forum.inductiveautomation.com/t/bug-14328-feature-13043-scale-dock-windows-size-for-4k-display/28089/1 "2019-09-07T08:35:28Z")

</div>

Hello  
I try to see my project in 4K display LCD and every thing scale correctly except dock window which make them to small to see.  
I want when resolution increase the width of West dock windows scale accordingly like the height.  
Is there any trick to do that?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [September 10, 2019, 4:15pm UTC](https://forum.inductiveautomation.com/t/bug-14328-feature-13043-scale-dock-windows-size-for-4k-display/28089/2 "2019-09-10T16:15:04Z")

</div>

This is something we came across a short while back where we decided there was no acceptable path to specify that different Docked Views should be visible at different sizes or a single Docked View should be able to set its size as a percent.

TLDR; no there’s no trick to doing this right now. We’re going to work on making it so that no trick is needed.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [September 11, 2019, 6:46am UTC](https://forum.inductiveautomation.com/t/bug-14328-feature-13043-scale-dock-windows-size-for-4k-display/28089/3 "2019-09-11T06:46:38Z")

</div>

Thanks.  
If I get resolution and scaling factor of client in Java, do you think I can resize the dock window by script?  
I can also setup a setting window so user can adjust dock width. Is changing dock window size possible in script?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 11, 2019, 3:44pm UTC](https://forum.inductiveautomation.com/t/bug-14328-feature-13043-scale-dock-windows-size-for-4k-display/28089/4 "2019-09-11T15:44:40Z")

</div>

This is Vision, or Perspective? If Vision, then yes, if you just get a reference to the docked window (`system.gui.getWindow` should work) you should be able to manually resize it.

---

<div class="post-metadata">

**Author:** ![mdd](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@mdd](https://forum.inductiveautomation.com/u/mdd)\
**Post date:** [March 6, 2020, 12:05am UTC](https://forum.inductiveautomation.com/t/bug-14328-feature-13043-scale-dock-windows-size-for-4k-display/28089/5 "2020-03-06T00:05:48Z")

</div>

I found you can set the docked window's "Minimum Size" width and height same as the "Size" width and height, and then the docked window will finally resize... but realize this is not dynamic. Large screens will get the same as small screens.

Check out my answer on this other forum post for some scripting details:

> [@Docked Window Size not correct on Client with Vision](http://forum.inductiveautomation.com/t/docked-window-size-not-correct-on-client-with-vision/30455/4):
>
> This seems to be a problem with Java’s Swing… but I found a little trick… Set your docked sidebar window “Minimum Size” to same width and height as the “Size”, and the width of the docked bar will actually resize. I have no idea why it works, but it does. Keep in mind this will be the same size for both large and small screens, so if you need to set this dynamically, you would have to get into python scripting… This script doesn’t work quite right (it does…
