How do I start a XUL Runner application maximized?

Posted by Anthony D on Stack Overflow See other posts from Stack Overflow or by Anthony D
Published on 2010-05-31T23:09:42Z Indexed on 2010/05/31 23:13 UTC
Read the original article Hit count: 253

I've started developing my first app with XUL and I've run into a problem that I can't seem to solve. All I want to do is have my app start maximized.

I've set the sizemode attribute to maximized on my top level window element but that has no effect. My prefs.js file has the following line:

pref("toolkit.defaultChromeFeatures", "chrome,centerscreen,menubar,resizable,status,toolbar,scrollbars");

This also does not work. My window appears and it only has a close button (X) and does not have a minimize or maximize button.

Any ideas???

© Stack Overflow or respective owner

Related posts about firefox-addon

Related posts about xul