PDA

View Full Version : Panel HTML color white not working



stirucherai
23 Aug 2011, 9:42 PM
Dear All,


var rootPanel= new Ext.Panel({
fullscreen:true,
dockedItems: [
{
dock:"top",
items:[{xtype:'toolbar', ui:'light',
items: [
{ xtype:'panel', id:"PattuName", height:40, width:300, style:'color:white'},
{ xtype: 'spacer'},
{ iconMask: true, ui: 'plain', iconCls: 'delete', style:"float:right" },
{ iconMask: true, ui: 'plain', iconCls: 'add' }
]
},]})


Ext.get("PattuName").update('Some text');


The above code does not work. When I change the color:white to any other value (like black, blue) it works. I need white please help resolve this issue

DougMcDonald
24 Aug 2011, 12:06 AM
Just a guess but have you tried using #ffffff in place of white?

stirucherai
24 Aug 2011, 12:15 AM
Yes I did try #ffffff and result is same. Meaning if it is #fffffff the text is not displayed (even for #fffff0) but displays for some #ffff

stirucherai
24 Aug 2011, 2:07 AM
interesting update. Just now checked in Safari and it is perfect, the issue is only in Chrome.