Probably has a typo. Very hard to see in Forum.
It must probably get the closing after width="496"> else there is not a closed, valid expression. Try it like that.
Here is an working example from mimetypes pref.xul.
It uses relative size em
persist="screenX screenY width height">
It is closed at the end.
Look into pref.xul of kmprefs for another way (example) of doing it.
id="prefDialog" title="&prefDialog.title;" style="&prefDialog.style;"
kko uses a style element defined outside.
Some lines later also comes the closing >.
In kmprefs' locale pref.dtd, kko defines the style's sizes.
The bold section is normally translated but not here.
So why was it placed here?
It gives relative size in em
and also gives it to translator to adapt the size of the window to accomodate e.g. Polish or German.... translation.
<!ENTITY prefDialog.style "width: 68.5em; height: 55em;
We non English probably want to do it like kko did
Try it also. IMHO it is better.
I did not know all this when I created mimetypes 0.3 from Mozilla 1.7 sources.
p.s. Special thanx go to disrupted for explaining every thing to me in this thread.
Edited 5 time(s). Last edit at 09/16/2009 01:24PM by guenter.