PDA

View Full Version : [DUP][CLOSED]Panel : frame and padding, both options using bug under IE



vladsch
2 Mar 2011, 1:14 PM
Hi,

ExtJS 4 pr2, IE8, MS Vista

If define padding and frame options for a panel then there rendrering problem under IE8
Please see the following sample


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
<title></title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />

<script type="text/javascript" src="../../ext-core-debug.js"></script>
<script type="text/javascript" src="../../ext-all-debug.js"></script>

<script type="text/javascript">
Ext.onReady(function () {
new Ext.form.FormPanel({
id: "ctl05",
defaults: { anchor: "-20"},
labelWidth: 250,
renderTo: Ext.getBody(),
height: 250,
width: 500,
frame: true,
padding: 5,
title: "Form",
});
});
</script>
</head>
<body style="padding:20px;">

</body>
</html>

evant
15 Mar 2011, 3:20 AM
Dupe of: http://www.sencha.com/forum/showthread.php?125595-OPEN-Panel-frame-and-padding-both-options-using-bug-under-IE&highlight=%5BOPEN%5D

einartg
19 Apr 2012, 11:49 AM
The link goes to the same page.