How do I start a XUL Runner application maximized?
- by Anthony D
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???