Reputation: 35274
Is this a bug in jQueryUI's dialog or is there some reason this is happening?
The title bar on that fiddle is way too big.
Notice that if you resize it snaps back to the correct position.
For the record, html:
<div id="wrapper"><textarea></textarea></div>
css:
#wrapper {
float: left;
width: 40%;
height: 30%;
font-size: 15px;
}
js:
$('<div title="the title">content</div>').dialog();
Is there any way around this? Can I manually call the resize
callback?
Upvotes: 1
Views: 291
Reputation: 207901
Try a more recent stylesheet. jsFiddle example. You're linking to ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/jquery-ui.css and the most recent is 1.8.18 (http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/base/jquery-ui.css).
Upvotes: 2