tags:

views:

60

answers:

1

how to decrese the size of the showalertdialog title.

A: 

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.

AlexVogel