<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
<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
* This is the base class for {@link Ext.QuickTip} and {@link Ext.Tooltip} that provides the basic layout and\r
* positioning that all tip-based classes require. This class can be used directly for simple, statically-positioned\r
* tips that are displayed programmatically, or it can be extended to provide custom tip implementations.\r
* This is the base class for {@link Ext.QuickTip} and {@link Ext.Tooltip} that provides the basic layout and\r
* positioning that all tip-based classes require. This class can be used directly for simple, statically-positioned\r
* tips that are displayed programmatically, or it can be extended to provide custom tip implementations.\r
var bw = this.body.getTextWidth();\r
if(this.title){\r
bw = Math.max(bw, this.header.child('span').getTextWidth(this.title));\r
}\r
var bw = this.body.getTextWidth();\r
if(this.title){\r
bw = Math.max(bw, this.header.child('span').getTextWidth(this.title));\r
}\r
this.setWidth(bw.constrain(this.minWidth, this.maxWidth));\r
\r
// IE7 repaint bug on initial show\r
this.setWidth(bw.constrain(this.minWidth, this.maxWidth));\r
\r
// IE7 repaint bug on initial show\r
// private - custom Tip DD implementation\r
Ext.Tip.DD = function(tip, config){\r
Ext.apply(this, config);\r
// private - custom Tip DD implementation\r
Ext.Tip.DD = function(tip, config){\r
Ext.apply(this, config);\r