tags:

views:

556

answers:

2

Hi All,

Can anyone tell me that how can i resize a window in XUL.I tried resizable but it is not working.

A: 

resizeBy ( width, height )

Konstantinos
Or resizeTo (http://xul-app.hp.infoseek.co.jp/xultu-janit/elemref/ref_XULWindow.html#prop_resizeTo)
Matthew Flaschen
+1  A: 

To make the window manually resizable, you use what you tried - 'resizable'

var myWin = window.openDialog('chrome://myapp/content/mywindow.xul','mywindow','centerscreen,chrome,resizable,dialog=no',{});

To resize it programmatically, try the functions ResizeTo or ResizeBy

pc1oad1etter