# Change perspective dock height in runtime

**URL:** <https://forum.inductiveautomation.com/t/change-perspective-dock-height-in-runtime/32070>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 8, 2020, 10:19pm UTC](https://forum.inductiveautomation.com/t/change-perspective-dock-height-in-runtime/32070 "2020-02-08T22:19:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [February 8, 2020, 10:19pm UTC](https://forum.inductiveautomation.com/t/change-perspective-dock-height-in-runtime/32070/1 "2020-02-08T22:19:57Z")

</div>

Is there a way to change the height of a dock at runtime?

For instance I am creating a shared header that shows system messages on each page, for example when a database connection is faulted. The view for that header is a table and it may have 1 row or N number of rows based off the number of faulted databases. I can default the view to a height of 30, but if I have two rows I would like to change the height of the docked window to 60. I am able to change the height of the view itself easy enough, but when putting it in the docked window I cant seem to find a way to make it dynamic or set it at runtime via scripting.

Any ideas are greatly appreciated!  
Thanks,  
Keith G.

---

<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:** [February 10, 2020, 3:23pm UTC](https://forum.inductiveautomation.com/t/change-perspective-dock-height-in-runtime/32070/2 "2020-02-10T15:23:15Z")

</div>

You’re not missing anything; there is no dynamic modification of Docked View properties at runtime. I don’t know if there are reasons why we can’t or haven’t included the option to specify dimensions through the scripting function, but you could always post in the [ideas forum](https://inductiveautomation.canny.io/).

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [February 10, 2020, 3:37pm UTC](https://forum.inductiveautomation.com/t/change-perspective-dock-height-in-runtime/32070/3 "2020-02-10T15:37:28Z")

</div>

Posted, for anyone who wants to upvote it

[Ideas Forum Post](https://inductiveautomation.canny.io/ignition-features-and-ideas/p/ability-to-modify-docked-view-properties-via-scripting)
