PDA

View Full Version : [CLOSED][EXTJ4 BETA3] Ext.window.Window: 'plain' not working



fguest
14 Apr 2011, 10:32 PM
Ext.window.Window: 'plain' not working


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>bug</title>
<link rel="stylesheet" type="text/css"
href="http://dev.sencha.com/deploy/ext-4.0-beta3/resources/css/ext-all.css"/>
<script type="text/javascript"
src="http://dev.sencha.com/deploy/ext-4.0-beta3/ext-all-debug.js"></script>
</head>
<body>
<h1>version: beta3</h1>

<script type="text/javascript">
Ext.onReady(function() {
var w = Ext.create('Ext.window.Window', {
width: 200,
height: 200,
plain: true,
items:[
{html:'text',border:false}
]
});
w.show();
});
</script>
</body>
</html>
25651

mitchellsimoens
15 Apr 2011, 5:47 AM
They do add a transparent background to the Window body which is what the API docs say. I compared to what ExtJS 3 does and it looks like ExtJS 4 is acting like ExtJS 3