I got an issue with the alert box of sencha touch control. Issue is: I would like to change background color of alert box, I tried to implement CSS but its not letting me to do it.
Is there any other way to change background color of alert box in sencha?
Early reply will be appreciated!
Thanks
Anonymous User
30-May-2013Hi Alex,
You can perform this task as follows:
var msg = new Ext.MessageBox();
msg.show({
title: 'Hello World',
msg: 'Testing code',
buttons: [{text:'Sure',itemId:'Ok'}],
style:'background-color:blue;'
});
I hope this code might be resolve your problem.