Sunday 26 June 2011

Tip: if you’re trying to use a XUL <dialog> for anything more than a trivial, static dialog…

… don’t. Use a XUL window instead, and reorder the buttons to match platform standards yourself (perhaps using CSS ordinal groups). You’re going to save a lot of hair from being torn out that way.

Update 27/6: Enn pointed out that I should file bugs for my issues. He’s right, so here are the bugs I’ve filed so far.

2 comments:

enndeakin said...

No, you should not do this. Instead you should file a bug if there's a problem. But since you've given absolutely no details, it's hard to tell. Instead you've just given random unhelpful "advice".

Sid said...

Good point, I'll file bugs for the issues I was facing.