Files
Mozilla/mozilla/editor/dialogs/imagedlog.xml
brade%netscape.com 885ac024e0 reformat (remove tabs; fix spacing/indent to be consistent with other files)
git-svn-id: svn://10.0.0.236/trunk@21914 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:32:00 +00:00

154 lines
6.1 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="EditorDialog.css" type="text/css"?>
<!DOCTYPE dialog>
<window xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/TR/REC-html40">
<table xmlns="http://www.w3.org/TR/REC-html40">
<tr>
<td width=500>
<fieldset><legend> Image Location and Name </legend>
<input type="file" value=" Choose File... " size="50" length="50" maxlength="255" name="image.url" />
<p/>
<xul:checkbox value="Leave Image at Original Location" disabled />
<xul:label>Leave Image at Original Location</xul:label>
<xul:checkbox value="Page Background" disabled />
<xul:label>Page Background</xul:label>
<input type="button" class=genericbutton value=" Edit Image " disabled />
<p/>
<xul:label>Alternative Text</xul:label>
<input type="text" size="30" length="30" maxlength="255" name="image.alttext" />
</fieldset>
<table cellspacing=0 cellpadding=0 width="100%">
<tr>
<td width="55%" valign=top>
<fieldset><legend> Dimensions </legend>
<p />
<xul:radio name="image.dimensionType" value="Original Size" checked />
<xul:label>Original Size</xul:label>
<br />
<xul:radio name="image.dimensionType" value="Custom Size" />
<xul:label>Custom Size</xul:label>
<table cellspacing=0 cellpadding=2 width="100%" valign=top>
<tr>
<td width=8></td>
<td width=40 valign=middle align=right> Height </td>
<td valign=middle>
<input type="text" size="4" length="4" maxlength="4" name="image.height" />
<select size="1" name="image.heightType">
<optgroup label="pixels">
<option label="pixels" value="pixels">pixels</option>
<option label="% of window" value="% of window">% of window</option>
</optgroup>
</select>
</td>
</tr>
<tr>
<td/>
<td valign=middle align=right>
<xul:label>Width</xul:label>
</td>
<td>
<input type="text" size="4" length="4" maxlength="4" name="image.width" />
<select size="1" name="image.widthType">
<optgroup label="pixels">
<option label="pixels" value="pixels">pixels</option>
<option label="% of window" value="% of window">% of window</option>
</optgroup>
</select>
</td>
</tr>
<tr>
<td/>
<td/>
<td>
<xul:checkbox value="Constrain" disabled />
<xul:label>Constrain</xul:label>
</td>
</tr>
</table>
</fieldset>
</td>
<td width="45%">
<select size="1" name="image.alignType">
<optgroup label="alignment">
<option label="top alignment" value="top alignment">top alignment</option>
<option label="center alignment" value="center alignment">center alignment</option>
<option label="bottom alignment" value="bottom alignment">bottom alignment</option>
<option label="text wrap around left-aligned image" value="around left alignment">around left alignment</option>
<option label="text wrap around right-aligned image" value="around right alignment">around right alignment</option>
</optgroup>
</select>
<p/>
<fieldset><legend> Space Around Image </legend>
<table cellspacing=0 cellpadding=2 width="100%">
<tr valign=middle>
<td align=right>
<xul:label>Left and Right</xul:label>
</td>
<td>
<input type="text" size="4" length="4" maxlength="4" name="image.leftRightSpacing" />
</td>
<td>
<xul:label>pixels</xul:label>
</td>
</tr>
<tr valign=middle>
<td>
<xul:label>Top and Bottom</xul:label>
</td>
<td>
<input type="text" size="4" length="4" maxlength="4" name="image.topBottomSpacing" />
</td>
<td>
<xul:label>pixels</xul:label>
</td>
</tr>
<tr valign=middle>
<td align=right>
<xul:label>Solid Border</xul:label>
</td>
<td>
<input type="text" size="4" length="4" maxlength="4" name="image.borderWidth" />
</td>
<td>
<xul:label>pixels</xul:label>
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
<tr>
<td>
<input type="button" class=genericbutton value=" Remove Image Map " disabled />
</td>
<td align=right>
<input type="button" class=genericbutton value=" Extra HTML... " disabled />
</td>
</tr>
</table>
<input type="button" id="helpbutton" value=" Help " disabled />
<input type="submit" id="cancelbutton" value=" Cancel " />
<input type="button" id="applybutton" value=" Apply " disabled />
<input type="submit" id="okbutton" value=" OK " />
</td>
</tr>
</table>
</window>