PDA

View Full Version : [OPEN] [CLOSED][PR4] Rendering of a toolbar



flanders
18 Mar 2011, 7:59 AM
It looks like the rendering of a toolbar broke in PR4. Screenshots against PR3 and PR4 attached

Seen in Firefox 3.6.15, Chrome 10.0 (linux) and IE 8.0 (win7)

My toolbar:


Ext.define('wjv.menu.Main', {
extend: 'Ext.Toolbar',

initComponent: function() {
Ext.apply(this, {
id: 'main-toolbar',
items: [{
cls: 'x-btn-text-icon',
handler: function() {
Ext.getCmp('main-container').setContained(Ext.create('wjv.WelcomePanel',{}));
},
icon: 'images/icons/house.png',
text: 'Home',
xtype: 'button'
}, ..., {
cls: 'x-btn-text-icon',
icon: 'images/icons/logout.png',
text: 'Uitloggen',
xtype: 'button'
}]
});

wjv.menu.Main.superclass.initComponent.apply(this, arguments);
}
});


My HTML page


<body>
<center>
<div id="main-toolbar" style="width: 1000px; height: 50px; text-align: left;"></div>
<div id="main-panel" style="width: 1000px; height: 500px; text-align: left;"></div>
</center>
<script>
Ext.onReady(function() {


var menuBar = new wjv.menu.Main({
renderTo: 'main-toolbar'
});

var panelContainer = new wjv.container.MainContainer({
renderTo: 'main-panel'
});
});
</script>
</body>

evant
20 Mar 2011, 9:17 PM
Resolved in PR5.

flanders
21 Mar 2011, 2:12 AM
I have just upgraded the project to PR5, however the issue still exists