PDA

View Full Version : BasicDialog's title



XASD
5 Jul 2007, 7:47 AM
xtheme-aero.css:


.x-dlg .x-dlg-hd{
...
padding-right:50px;/*must be added,equals to ".x-dlg .x-dlg-toolbox" width declaration*/
}

plus,title/setTitle() must be wrapped with


<div style="overflow:hidden;text-overflow:ellipsis;">{title}</div>

to properly handle long dialog headers-longer than dialog's maxWidth.
See http://extjs.com/forum/showthread.php?t=8572 discussion about title behavior.

By the way,it would be nice to have css templating in JS builder project to declare common values and after that reference where you need it,don't you think?

Thanks.