# Docked Window + non-docked window issue

**URL:** <https://forum.inductiveautomation.com/t/docked-window-non-docked-window-issue/37045>\
**Category:** Ignition\
**Created:** [July 24, 2020, 1:30pm UTC](https://forum.inductiveautomation.com/t/docked-window-non-docked-window-issue/37045 "2020-07-24T13:30:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwoo](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@dwoo](https://forum.inductiveautomation.com/u/dwoo)\
**Post date:** [July 24, 2020, 1:30pm UTC](https://forum.inductiveautomation.com/t/docked-window-non-docked-window-issue/37045/1 "2020-07-24T13:30:38Z")

</div>

I have a docked window on the right side (nav menu), when I open a window in the remaining area, IF it is not full height of the screen resolution the window does not open at 0,0, but lower see image. The project is started in full screen mode. I tested without the docked screen and it opens at 0,0.  
The menu bar/Windows menu are turned off at the top (issues occurs when these are on also).  
I tried loading the docked 1st or last, same issue.

#Code Start  
system.nav.openWindow(‘Line/Navigation-Oven’)  
system.nav.swapTo(‘Line/Oven/Main’)  
#Code End

Using v8.01

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/b/2b163adbc0ae22a9f756958d84bd1e7e0c26f506.png)

---

<div class="post-metadata">

**Author:** ![dwoo](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@dwoo](https://forum.inductiveautomation.com/u/dwoo)\
**Post date:** [July 24, 2020, 1:31pm UTC](https://forum.inductiveautomation.com/t/docked-window-non-docked-window-issue/37045/2 "2020-07-24T13:31:54Z")

</div>

This is a VISION screen…additional infomation

The new screen being opened also has a template object in it, which contains a template repeater.  
If I remove that object, the screen opens at 0,0 fine.

---

<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:** [July 24, 2020, 3:48pm UTC](https://forum.inductiveautomation.com/t/docked-window-non-docked-window-issue/37045/3 "2020-07-24T15:48:45Z")

</div>

Is the template repeater set to ‘Anchored’ layout mode, pinned to all sides? It looks like it’s not resizing to fill the available area because it’s attempting to maintain a particular aspect ratio.

---

<div class="post-metadata">

**Author:** ![dwoo](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@dwoo](https://forum.inductiveautomation.com/u/dwoo)\
**Post date:** [July 24, 2020, 3:56pm UTC](https://forum.inductiveautomation.com/t/docked-window-non-docked-window-issue/37045/4 "2020-07-24T15:56:59Z")

</div>

The ENABLE LAYOUT property is False on the Template. I don’t see any property on the Template Repeater for that setting.

---

<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:** [July 24, 2020, 4:18pm UTC](https://forum.inductiveautomation.com/t/docked-window-non-docked-window-issue/37045/5 "2020-07-24T16:18:17Z")

</div>

Not a property in the property editor - the actual layout settings of the Template Repeater component itself on the window it’s in:  
[https://docs.inductiveautomation.com/display/DOC80/Working+with+Vision+Components#WorkingwithVisionComponents-ComponentLayout](https://docs.inductiveautomation.com/display/DOC80/Working+with+Vision+Components#WorkingwithVisionComponents-ComponentLayout)

---

<div class="post-metadata">

**Author:** ![dwoo](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@dwoo](https://forum.inductiveautomation.com/u/dwoo)\
**Post date:** [July 24, 2020, 5:15pm UTC](https://forum.inductiveautomation.com/t/docked-window-non-docked-window-issue/37045/6 "2020-07-24T17:15:26Z")

</div>

The Template (on called screen) and Template repeater (in the template) are set as below

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/3/7350732871d15105278a1b3299795ab24e9b446d.png)

---

<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:** [July 24, 2020, 5:21pm UTC](https://forum.inductiveautomation.com/t/docked-window-non-docked-window-issue/37045/7 "2020-07-24T17:21:11Z")

</div>

Okay, so the answer to my earlier question is no. Try changing the template repeater itself to ‘Anchored’, and attach those anchors to all four sides. Then the component will always fill all available space on the window.
