Am 11.05.2012 16:07, schrieb Paul Spencer:
Thanks for the hint. This works when one wants to change the css class
settings. This also overrides settings of other Elements belonging to a
"jxDialog".
But to change the style of a specific Dialog i came up with this after
some digging around(shortened):
var dialog = new Jx.Dialog({
'id': 'Killroy',
});
var dialogContentChild = $('Killroy').getElements('.jxDialogContent');
// or .jxDialogLabel or ...
dialogContentChild.setStyles({
'font-size': '1.5em',
'background': '#D3EAFF'
});
dialog.open();
It would be nice to have it in the Init of the Jx.Dialog overwriting the
deafult css styles (if a wish is allowed here):
var dialog = new Jx.Dialog({
'id': 'Killroy',
jxDialogContentStyle: {
'font-size': '1.5em',
'background': '#D3EAFF'
}
jxDialogLabelStyle: {
'font-size': '15px',
'font-style': 'italic'
}
});
Regards
Heiko
> <mailto:
jx...@googlegroups.com>.
> <mailto:
jxlib%2Bunsu...@googlegroups.com>.