Thank you for reporting this bug. We will make it our priority to review this report.
Ext.Messagebox#method-applyTitle enforces theme styling via JS
Ext.Messagebox#method-applyTitle enforces theme styling via JS
I have a touch app with a theme that customizes the look of Ext.MessageBox instances
The JS in applyTitle is forcing minHeight though and causing conflicts:
Why is there theme-specific logic and !important sizing hard coded into JS and out of reach of our theme to customize? It seems to me that this code doesn't at all belong in there...
Update
Here's an override that can defeat it:
Code:
Ext.define('MyTouchApp.override.MessageBoxTitle', {
override: 'Ext.MessageBox',
applyTitle: function(config) {
if (typeof config == "string") {
config = {
title: config
};
}
config.minHeight = 'auto';
return this.callParent([config]);
}
});
Ext.Messagebox#method-applyTitle enforces theme styling via JS
Aucun commentaire:
Enregistrer un commentaire