Getting the ui-dialog-titlebar height...

Getting the ui-dialog-titlebar height...


I'm a bit stumped on this one. I'm trying to calculate the height of
my dialog title bar. The titlebar height has not been set explicitly
and shows as auto. Without setting an explicit height I'm trying to
measure the actual titlebar height including padding and borders.
I've tried innerHeight(), outerHeight(), height() and css("height")
but no matter which method I use the height always shows as 0. Why
can't I get the 'actual' height?
Note: For all intents and purposes when the titlebar height is
explicitly set I have no problems with this... I parse the integers
for height, padding and border and add them up.