[英]jsfiddle can't show the proper GUI of EXTJS 4
var loginForm = new Ext.form.FormPanel({
frame: true,
border: false,
labelWidth: 75,
items: [{
xtype: 'textfield',
width: 190,
id: 'username',
fieldLabel: 'User name'
},{
xtype: 'textfield',
width: 190,
id: 'password',
fieldLabel: 'Password',
inputType: 'password',
submitValue: false
},{
xtype: 'hidden',
id: 'challenge',
value: "<?php echo $challenge; ?>",
submitValue: false
}]
});
var loginWindow = new Ext.Window({
title: 'Login',
layout: 'fit',
closable: false,
resizable: false,
draggable: false,
border: false,
height: 125,
width: 300,
items: [loginForm]
});
loginWindow.show();
how come my login form can't show the proper GUI on here http://jsfiddle.net/WM9DD/83/ ? 为什么我的登录表单无法在此处http://jsfiddle.net/WM9DD/83/上显示正确的GUI?
您忘记了将CSS
文件包含在托管资源或html部分中:我为您更新了小提琴: http : //jsfiddle.net/dbrin/WM9DD/84/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.