-<html>
-<head>
- <title>The source code</title>
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
-</head>
-<body onload="prettyPrint();">
- <pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-<div id="cls-Ext.Tip"></div>/**\r
+<html>\r
+<head>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> \r
+ <title>The source code</title>\r
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
+</head>\r
+<body onload="prettyPrint();">\r
+ <pre class="prettyprint lang-js"><div id="cls-Ext.Tip"></div>/**\r
* @class Ext.Tip\r
* @extends Ext.Panel\r
* @xtype tip\r
},\r
\r
// protected\r
- doAutoWidth : function(){\r
+ doAutoWidth : function(adjust){\r
+ adjust = adjust || 0;\r
var bw = this.body.getTextWidth();\r
if(this.title){\r
bw = Math.max(bw, this.header.child('span').getTextWidth(this.title));\r
}\r
- bw += this.getFrameWidth() + (this.closable ? 20 : 0) + this.body.getPadding("lr");\r
+ bw += this.getFrameWidth() + (this.closable ? 20 : 0) + this.body.getPadding("lr") + adjust;\r
this.setWidth(bw.constrain(this.minWidth, this.maxWidth));\r
\r
// IE7 repaint bug on initial show\r
endDrag : function(e){\r
this.tip.el.enableShadow(true);\r
}\r
-});</pre>
-</body>
+});</pre> \r
+</body>\r
</html>
\ No newline at end of file