0

How can I change the Alert box button color using Sencha Touch 2? It depends on the base-color which is black in my case. And the buttons look like labels as the whole alert box is in black. Any help is appreciated.

4

1 回答 1

4

如果您使用Ext.Msg.alertor Ext.Msg.confirmorExt.Msg.show方法,您可以应用以下样式来更改按钮颜色

.x-msgbox .x-button {
    background-image: none !important;
    background-color : red !important; // red will be the button color
}
于 2013-06-17T04:41:08.270 回答