# Is there a way to get the exact dialog height?

**URL:** <https://forums.creativeclouddeveloper.com/t/is-there-a-way-to-get-the-exact-dialog-height/380>\
**Category:** UXP Plugin API\
**Created:** [November 9, 2018, 7:47am UTC](https://forums.creativeclouddeveloper.com/t/is-there-a-way-to-get-the-exact-dialog-height/380 "2018-11-09T07:47:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaoloBiagini](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/paolobiagini/32/29_2.png) [@PaoloBiagini](https://forums.creativeclouddeveloper.com/u/PaoloBiagini)\
**Post date:** [November 9, 2018, 7:47am UTC](https://forums.creativeclouddeveloper.com/t/is-there-a-way-to-get-the-exact-dialog-height/380/1 "2018-11-09T07:47:23Z")

</div>

I would need a method to calculate the dialog height exactly.  
Actually, when trying to get that measure, console outputs:  
**{ type: ‘AutoEnum’ }**

---

<div class="post-metadata">

**Author:** ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Post date:** [November 9, 2018, 4:27pm UTC](https://forums.creativeclouddeveloper.com/t/is-there-a-way-to-get-the-exact-dialog-height/380/2 "2018-11-09T16:27:57Z")

</div>

Not yet. We’re working on providing a way you can get that information though.

For now, you’d need to specify the height explicitly if you wanted to derive the value.

---

<div class="post-metadata">

**Author:** ![PaoloBiagini](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/paolobiagini/32/29_2.png) [@PaoloBiagini](https://forums.creativeclouddeveloper.com/u/PaoloBiagini)\
**Post date:** [November 9, 2018, 6:15pm UTC](https://forums.creativeclouddeveloper.com/t/is-there-a-way-to-get-the-exact-dialog-height/380/3 "2018-11-09T18:15:18Z")

</div>

Thank you @kerrishotts!
