ssamayoa
12 Mar 2012, 1:19 PM
This component:
32657
which generates this code:
Ext.define('AG.view.Cabecera', {
extend: 'Ext.container.Container',
alias: 'widget.cabecera',
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'image',
height: 28,
width: 394,
src: './img/titulo-394x28.png'
},
{
xtype: 'toolbar',
items: [
{
xtype: 'label',
itemId: 'actual',
style: '{font-weight:bold;}',
text: 'Moviclub'
},
{
xtype: 'tbfill'
},
{
xtype: 'button',
itemId: 'contrasenabtn',
icon: './img/pass16.png',
tooltip: {
text: 'Cambiar contraseña'
}
},
{
xtype: 'tbseparator'
},
{
xtype: 'button',
itemId: 'cerrarbtn',
icon: './img/exit16.png',
text: 'Cerrar sesión'
}
]
}
]
});
me.callParent(arguments);
}
});
Renders this way:
32658
Images exists in the application server.
Since this view part is used by other views, almost all the time other views dont renderer correctly or just dont render at all.
Build 311.
Regards.
32657
which generates this code:
Ext.define('AG.view.Cabecera', {
extend: 'Ext.container.Container',
alias: 'widget.cabecera',
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'image',
height: 28,
width: 394,
src: './img/titulo-394x28.png'
},
{
xtype: 'toolbar',
items: [
{
xtype: 'label',
itemId: 'actual',
style: '{font-weight:bold;}',
text: 'Moviclub'
},
{
xtype: 'tbfill'
},
{
xtype: 'button',
itemId: 'contrasenabtn',
icon: './img/pass16.png',
tooltip: {
text: 'Cambiar contraseña'
}
},
{
xtype: 'tbseparator'
},
{
xtype: 'button',
itemId: 'cerrarbtn',
icon: './img/exit16.png',
text: 'Cerrar sesión'
}
]
}
]
});
me.callParent(arguments);
}
});
Renders this way:
32658
Images exists in the application server.
Since this view part is used by other views, almost all the time other views dont renderer correctly or just dont render at all.
Build 311.
Regards.