# Read the height of a VBox

**URL:** <https://forum.kirupa.com/t/read-the-height-of-a-vbox/274636>\
**Category:** Uncategorized\
**Created:** [November 1, 2008, 6:23pm UTC](https://forum.kirupa.com/t/read-the-height-of-a-vbox/274636 "2008-11-01T18:23:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grozavpaul](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@grozavpaul](https://forum.kirupa.com/u/grozavpaul)\
**Post date:** [November 1, 2008, 6:23pm UTC](https://forum.kirupa.com/t/read-the-height-of-a-vbox/274636/1 "2008-11-01T18:23:53Z")

</div>

i have a VBox. i fill it with some children. Each children having a different height. i didn’t specify any height to my VBox … so that it will resize to it’s content. Ok. But how can i now read the height of my VBox? i mean how can i find out how much space it takes? I tried to use myVBox.getRect(this).height but it always returns 100 …
