git-svn-id: svn://euphorik.ch/pompage@45 02bbb61a-6d21-0410-aba0-cb053bdfd66a
[pompage.git] / doc / webdeveloper / options / dialogs / resize.xul
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
3
4 <!DOCTYPE dialog SYSTEM "chrome://webdeveloper/locale/dialogs.dtd">
5
6 <dialog buttons="accept, cancel"
7         id="webdeveloper-resize-dialog"
8         ondialogaccept="return webdeveloper_saveResize()"
9         ondialogcancel="webdeveloper_clearResize()"
10         onload="webdeveloper_initializeResize()"
11         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
12
13     <script type="application/x-javascript" src="chrome://webdeveloper/content/common/prompt.js"/>
14     <script type="application/x-javascript" src="chrome://webdeveloper/content/common/string.js"/>
15     <script type="application/x-javascript" src="chrome://webdeveloper/content/options/dialogs/resize.js"/>
16
17     <stringbundleset id="stringbundleset">
18         <stringbundle id="webdeveloper-string-bundle" src="chrome://webdeveloper/locale/webdeveloper.properties"/>
19     </stringbundleset>
20
21     <vbox>
22         <grid>
23             <columns>
24                 <column/>
25                 <column/>
26             </columns>
27             <rows>
28                 <row align="center">
29                     <label control="webdeveloper.resize.description" value="&webdeveloper.description.label;"/>
30                     <textbox id="webdeveloper.resize.description" size="50"/>
31                 </row>
32                 <row align="center">
33                     <label control="webdeveloper.resize.width" value="&webdeveloper.width.label;"/>
34                     <hbox>
35                         <textbox id="webdeveloper.resize.width" size="4"/>
36                         <spacer flex="1"/>
37                     </hbox>
38                 </row>
39                 <row align="center">
40                     <label control="webdeveloper.resize.height" value="&webdeveloper.height.label;"/>
41                     <hbox>
42                         <textbox id="webdeveloper.resize.height" size="4"/>
43                         <spacer flex="1"/>
44                     </hbox>
45                 </row>
46             </rows>
47         </grid>
48         <checkbox id="webdeveloper.resize.viewport" label="&webdeveloper.resize.viewport.label;"/>
49     </vbox>
50 </dialog>