home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / editor / EdHLineProps.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  4KB  |  90 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.    - The contents of this file are subject to the Netscape Public
  5.    - License Version 1.1 (the "License"); you may not use this file
  6.    - except in compliance with the License. You may obtain a copy of
  7.    - the License at http://www.mozilla.org/NPL/
  8.    -  
  9.    - Software distributed under the License is distributed on an "AS
  10.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.    - implied. See the License for the specific language governing
  12.    - rights and limitations under the License.
  13.    -  
  14.    - The Original Code is Mozilla Communicator client code, released
  15.    - March 31, 1998.
  16.    - 
  17.    - The Initial Developer of the Original Code is Netscape
  18.    - Communications Corporation. Portions created by Netscape are
  19.    - Copyright (C) 1998-1999 Netscape Communications Corporation. All
  20.    - Rights Reserved.
  21.    - 
  22.    - Contributor(s): 
  23.   -->
  24.  
  25. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  26. <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
  27.  
  28. <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> 
  29. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  30. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?> 
  31.  
  32. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorHLineProperties.dtd">
  33.  
  34. <dialog title="&windowTitle.label;"
  35.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  36.     onload="Startup()"
  37.     ondialogaccept="return onAccept();"
  38.     ondialogcancel="return onCancel();">
  39.  
  40.   <!-- Methods common to all editor dialogs -->
  41.   <script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
  42.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  43.   <!--- Element-specific methods -->
  44.   <script type="application/x-javascript" src="chrome://editor/content/EdHLineProps.js"/>
  45.  
  46.   <spacer id="location" offsetY="50" persist="offsetX offsetY"/>
  47.   
  48.   <groupbox><caption label="&dimensionsBox.label;"/>
  49.     <grid>
  50.       <columns><column/><column/><column /></columns>
  51.       <rows>
  52.         <row align="center">
  53.           <label control="width"
  54.                  value="&widthEditField.label;"
  55.                  accesskey="&widthEditField.accessKey;"/>
  56.           <textbox class="narrow" id="width" flex="1" oninput="forceInteger('width')"/>
  57.           <menulist id="pixelOrPercentMenulist" />
  58.           <!-- menupopup and menuitems added by JS -->
  59.         </row>
  60.         <row align="center">
  61.           <label control="height"
  62.                  value="&heightEditField.label;"
  63.                  accesskey="&heightEditField.accessKey;"/>
  64.           <textbox class="narrow" id="height" oninput="forceInteger('height')"/>
  65.           <label value="&pixelsPopup.value;" />
  66.         </row>
  67.       </rows>
  68.     </grid>        
  69.     <checkbox id="3dShading" label="&threeDShading.label;" accesskey="&threeDShading.accessKey;"/>
  70.   </groupbox>
  71.   <groupbox><caption label="&alignmentBox.label;"/>
  72.     <radiogroup id="alignmentGroup" orient="horizontal">
  73.       <spacer class="spacer"/>
  74.       <radio id="leftAlign"   label="&leftRadio.value;"   accesskey="&leftRadio.accessKey;"/>
  75.       <radio id="centerAlign" label="¢erRadio.value;" accesskey="¢erRadio.accessKey;"/>
  76.       <radio id="rightAlign"  label="&rightRadio.value;"  accesskey="&rightRadio.accessKey;"/>
  77.     </radiogroup>
  78.   </groupbox>
  79.   <spacer class="spacer"/>
  80.   <hbox>
  81.     <button  id="SaveDefault" label="&saveSettings.label;" 
  82.          accesskey="&saveSettings.accessKey;"
  83.          oncommand="onSaveDefault()"
  84.          tooltiptext="&saveSettings.tooltip;" />
  85.     <spacer flex="1"/>
  86.     <button id="AdvancedEditButton"/>
  87.   </hbox>
  88.   <separator class="groove"/>
  89. </dialog>
  90.