Sencha touch 2 Sencha控制覆盖问题
我是新来的森查人。我在其中创建了一个登录页面,其中存在一些覆盖控件问题。 这是我的密码Sencha touch 2 Sencha控制覆盖问题,sencha-touch-2,Sencha Touch 2,我是新来的森查人。我在其中创建了一个登录页面,其中存在一些覆盖控件问题。 这是我的密码 Ext.define('RaceNote.view.Login', { extend: 'Ext.form.Panel', alias: "widget.loginview", requires: ['Ext.form.FieldSet', 'Ext.form.Password', 'Ext.Label'], config: { title: 'Login',
Ext.define('RaceNote.view.Login', {
extend: 'Ext.form.Panel',
alias: "widget.loginview",
requires: ['Ext.form.FieldSet', 'Ext.form.Password', 'Ext.Label'],
config: {
title: 'Login',
scrollable: 'false',
layout: 'vbox',
items: [
{
xtype: 'label',
html: 'Login failed. Please enter the correct credentials.',
itemId: 'signInFailedLabel',
hidden: true,
hideAnimation: 'fadeOut',
showAnimation: 'fadeIn',
style: 'color:#990000;margin:5px 0px;'
}, {
xtype: 'fieldset',
title: 'Login Example',
items: [{
xtype: 'textfield',
placeHolder: 'Username',
itemId: 'userNameTextField',
name: 'userNameTextField',
required: true
}, {
xtype: 'passwordfield',
placeHolder: 'Password',
itemId: 'passwordTextField',
name: 'passwordTextField',
required: true
}]
}, {
xtype: 'button',
itemId: 'logInButton',
ui: 'action',
padding: '10px',
text: 'Log In',
listeners: [{
delegate: '#logInButton',
event: 'tap',
fn: 'onLogInButtonTap'
}]
}]
}
});
它在下面看。
根据您的评论,我想说您最近发现了ST 2.2.1和Chrome 29的问题。请看我的答案:如何将面板添加到视口中?@kevhender:launch:function(){Ext.Viewport.add([{xtype:'loginview'}]);您使用的是什么版本的ST?我可以在这把小提琴中看到这一点:我使用的是sencha touch 2版本完整版本是什么?2。?