HOW TO CHNAGE BACKCOLOR OF ALERT BOX IN SENCHA?

Alex Leblois

Total Post:67

Points:471
Posted by  Alex Leblois
 1164  View(s)
Ratings:
Rate this:

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

  1. Arun Singh

    Post:68

    Points:476
    Re: How to chnage backcolor of alert box in sencha?

    Hi 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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!