Home > DeveloperSection > Forums > How to chnage backcolor of alert box in sencha?
Alex Leblois
Alex Leblois

Total Post:67

Posted on    May-30-2013 4:06 AM

 Sencha Touch Sencha Touch 

 1 Reply(s)
 1116  View(s)
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!


Arun Singh

Total Post:68

Posted on    May-30-2013 4:43 AM

Hi Alex,

You can perform this task as follows:

var msg = new Ext.MessageBox();
title: 'Hello World',
msg: 'Testing code',
buttons: [{text:'Sure',itemId:'Ok'}],

I hope this code might be resolve your problem.

Don't want to miss updates? Please click the below button!

Follow MindStick