jsmarkus/jquery-ui-dialog-extra — Issue #1: Best way to get titlebarHeight
Author: liverbool
Created: 2011-12-26 13:17:53+00:00
State: open

change this.titlebarHeight var to fn like this:

this.titlebarHeight = parseInt(uiDialogTitlebar.css('height')) + parseInt(uiDialogTitlebar.css('padding-top')) + parseInt(uiDialogTitlebar.css('padding-bottom')) + parseInt(this.uiDialog.css('padding-top')) + parseInt(this.uiDialog.css('padding-bottom'));

TO

this.titlebarHeight = function(){ return parseInt(uiDialogTitlebar.css('height')) + parseInt(uiDialogTitlebar.css('padding-top')) + parseInt(uiDialogTitlebar.css('padding-bottom')) + parseInt(this.uiDialog.css('padding-top')) + parseInt(this.uiDialog.css('padding-bottom'))};

By this method we will away get real height on any state.
:)