开发者

How can I decrease the font size of the showAlertDialog title?

开发者_如何学Go

How can I decrease the font size of the showAlertDialog title?


A (dirty) way is to overwrite the .dialog-title class of the palm css file. But this affects all alert dialogs of your app.

.dialog-title {
font-size:5px !important;

}

A better way is to use your one dialog template with:

this.controller.showDialog({
       template: 'dialogs/sample-dialog',
       assistant: new SampleDialogAssistant(this),
       wisdom: randomLorem(),
       preventCancel:true
 });

See Palm Developer Guide for more information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜