home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / comm.jar / content / editor / EdHLineProps.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-07-09  |  3.8 KB  |  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://global/content/dialogOverlay.xul"?> 
  29. <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> 
  30. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  31. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?> 
  32.  
  33. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorHLineProperties.dtd">
  34.  
  35. <window class="dialog" title="&windowTitle.label;"
  36.    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  37.    xmlns:html="http://www.w3.org/1999/xhtml"
  38.    onload = "Startup()"
  39.    orient="vertical">
  40.  
  41.   <!-- Methods common to all editor dialogs -->
  42.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  43.   <script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
  44.   <!--- Element-specific methods -->
  45.   <script type="application/x-javascript" src="chrome://editor/content/EdHLineProps.js"/>
  46.  
  47.   <spring id="location" offsetY="50" persist="offsetX offsetY"/>
  48.   <keyset id="dialogKeys"/>
  49.   <popupset id="aTooltipSet" />
  50.   
  51.   <groupbox orient="vertical"><label value="&dimensionsBox.label;"/>
  52.     <grid>
  53.       <columns><column/><column/><column /></columns>
  54.       <rows>
  55.         <row valign="middle" autostretch="never">
  56.           <text class="label" value="&widthEditField.label;" />
  57.           <textbox class="narrow" id="width" flex="1" oninput="forceInteger('width')"/>
  58.           <menulist id="pixelOrPercentMenulist" />
  59.           <!-- menupopup and menuitems added by JS -->
  60.         </row>
  61.         <row valign="middle" autostretch="never">
  62.           <text class="label" value="&heightEditField.label;" />
  63.           <textbox class="narrow" id="height" oninput="forceInteger('height')"/>
  64.           <text class="label" value="&pixelsPopup.value;" />
  65.         </row>
  66.       </rows>
  67.     </grid>        
  68.     <checkbox id="3dShading" label="&threeDShading.label;" />
  69.   </groupbox>
  70.   <groupbox><label align="left" value="&alignmentBox.label;"/>
  71.     <radiogroup id="alignmentGroup" orient="horizontal">
  72.       <spring class="spacer"/>
  73.       <radio group="alignmentGroup" id="leftAlign" label="&leftRadio.value;" />
  74.       <radio group="alignmentGroup" id="centerAlign" label="¢erRadio.value;" />
  75.       <radio group="alignmentGroup" id="rightAlign" label="&rightRadio.value;" />
  76.     </radiogroup>
  77.   </groupbox>
  78.   <spring class="spacer"/>
  79.   <hbox>
  80.     <button class="dialog"  id="SaveDefault" label="&saveSettings.label;" 
  81.          oncommand="onSaveDefault()"
  82.          tooltip="aTooltip" tooltiptext="&saveSettings.tooltip;" />
  83.     <spring flex="1"/>
  84.     <button id="AdvancedEditButton"/>
  85.   </hbox>
  86.   <separator class="groove"/>
  87.   <!-- from global dialogOverlay -->
  88.   <hbox id="okCancelButtons"/>
  89. </window>
  90.