PDA

View Full Version : Alert modal not changing size to fit content



danfrist
29 Mar 2011, 11:01 AM
25404

Ext.Msg.alert is not adjust height to fit content.

HTC Evo, Android 2.2, Sencha Touch 1.1, Phonegap 0.9.4.

UPDATE:
This only happens after Ext.Msg.alert has already been called with smaller content. It looks like it is only instantiating once to the size of the first caller's content.

SOLUTION:
Ext.Msg.alert('Missing Information', msg).doComponentLayout();