Bug 99876: [XUL Syntax] <spring/> --> <spacer/>, r=alecf, sr=hyatt.

This commit is contained in:
jaggernaut%netscape.com 2001-09-18 21:47:32 +00:00
Родитель d5b3341812
Коммит f8f3e80dd6
193 изменённых файлов: 974 добавлений и 1066 удалений

Просмотреть файл

@ -42,11 +42,11 @@ input[type="submit"],input[type="reset"] {
-moz-user-focus : none;
}
.button-top-spring {
.button-top-spacer {
height : 2px;
}
.button-bottom-spring {
.button-bottom-spacer {
height : 3px;
}

Просмотреть файл

@ -6,33 +6,33 @@
<binding id="button" extends="xul:button">
<content>
<xul:spring class="button-image-left" inherits="disabled"/>
<xul:spacer class="button-image-left" inherits="disabled"/>
<xul:vbox flex="1" class="button-image-middle" inherits="disabled" align="center">
<xul:spring flex="1" class="button-top-spring"/>
<xul:spacer flex="1" class="button-top-spacer"/>
<xul:box flex="1">
<xul:html class="button-text-box" flex="1">
<children/>
</xul:html>
</xul:box>
<xul:spring flex="1" class="button-bottom-spring"/>
<xul:spacer flex="1" class="button-bottom-spacer"/>
</xul:vbox>
<xul:spring class="button-image-right" inherits="disabled"/>
<xul:spacer class="button-image-right" inherits="disabled"/>
</content>
</binding>
<binding id="inputButton" extends="xul:button">
<content>
<xul:spring class="button-image-left" inherits="disabled"/>
<xul:spacer class="button-image-left" inherits="disabled"/>
<xul:vbox flex="1" class="button-image-middle" inherits="disabled" align="center">
<xul:spring flex="1" class="button-top-spring"/>
<xul:spacer flex="1" class="button-top-spacer"/>
<xul:box flex="1">
<xul:box class="button-text-box" flex="1">
<xul:text inherits="disabled,value,crop,accesskey"/>
</xul:box>
</xul:box>
<xul:spring flex="1" class="button-bottom-spring"/>
<xul:spacer flex="1" class="button-bottom-spacer"/>
</xul:vbox>
<xul:spring class="button-image-right" inherits="disabled"/>
<xul:spacer class="button-image-right" inherits="disabled"/>
</content>
</binding>

Просмотреть файл

@ -2061,7 +2061,7 @@ nsXULElement::HandleEvent(nsIDOMEvent *aEvent)
#if 0
// XXX move this over to the scriptable helper...
static PRBool CanHaveBinding(nsIAtom* aTag) {
// The layout atoms (the boxes, stacks, and springs) are dodgy here.
// The layout atoms (the boxes, stacks, and spacers) are dodgy here.
// Technically they could have bindings, but this will only apply
// for display: none elts anyway, so we're getting into a real edge
// case.

Просмотреть файл

@ -122,7 +122,7 @@ editor.xul has these - do we need them?
<!-- help menu filled from globalOverlay -->
<menu accesskey="h" id="menu_Help"/>
<spring flex="1"/>
<spacer flex="1"/>
</menubar>
<!-- toolbar filled out from editorOverlay -->
@ -130,10 +130,10 @@ editor.xul has these - do we need them?
<button id="newButton"/>
<button id="openButton"/>
<button id="saveButton"/>
<spring class="separator_small"/>
<spacer class="separator_small"/>
<menubutton id="printButton"/>
<button id="spellingButton"/>
<spring flex="1"/>
<spacer flex="1"/>
</toolbar>
</toolbox>

Просмотреть файл

@ -163,7 +163,7 @@
<!-- help menu filled from globalOverlay -->
<menu id="menu_Help"/>
<spring flex="1"/>
<spacer flex="1"/>
</menubar>
<!-- toolbar filled out from editorOverlay -->
@ -181,7 +181,7 @@
<button id="tableButton"/>
<button id="linkButton"/>
<button id="namedAnchorButton"/>
<spring flex="1"/>
<spacer flex="1"/>
<hbox id="throbber-box" autostretch="never">
<button id="navigator-throbber" oncommand="goClickThrobber('editor.throbber.url')" tooltip="aTooltip" tooltiptext="&throbber.tooltip;">
<observes element="Editor:Throbber" attribute="busy"/>
@ -226,7 +226,7 @@
</menu -->
<spring flex="1"/>
<spacer flex="1"/>
</toolbar>
</toolbox>

Просмотреть файл

@ -67,7 +67,7 @@
<!-- HTML formatting on output -->
<groupbox orient="vertical">
<caption label="&savingFiles.title;"/>
<spring class="spacer"/>
<spacer class="spacer"/>
<radiogroup orient="vertical" autostretch="never"
id = "preserveFormatting"
pref = "true"

Просмотреть файл

@ -51,10 +51,10 @@
<textbox id="editorAuthor" flex="1"
pref="true" preftype="string" prefstring="editor.author"
prefattribute="value"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</vbox>
<spring class="smallspacer"/>
<spacer class="smallspacer"/>
<groupbox orient="vertical" autostretch="never">
<caption label="&pageColorHeader;"/>
<radiogroup id="useCustomColors" orient="vertical" autostretch="never"
@ -79,9 +79,9 @@
<stack>
<button id="TextButton" class="dialog color-button" oncommand="GetColorAndUpdate('textCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="textCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="textCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
<data id="textData" pref="true" preftype="color" prefstring="editor.text_color" prefattribute="value" wsm_attributes="value"/>
@ -91,9 +91,9 @@
<stack>
<button id="LinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('linkCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="linkCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="linkCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
<data id="linkData" pref="true" preftype="color" prefstring="editor.link_color" prefattribute="value" wsm_attributes="value"/>
@ -103,9 +103,9 @@
<stack>
<button id="ActiveLinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('activeCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="activeCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="activeCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
<data id="aLinkData" pref="true" preftype="color" prefstring="editor.active_link_color" prefattribute="value" wsm_attributes="value"/>
@ -115,9 +115,9 @@
<stack>
<button id="VisitedLinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('visitedCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="visitedCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="visitedCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
<data id="fLinkData" pref="true" preftype="color" prefstring="editor.followed_link_color" prefattribute="value" wsm_attributes="value"/>
</stack>
@ -127,9 +127,9 @@
<stack>
<button id="BackgroundButton" class="dialog color-button" oncommand="GetColorAndUpdate('backgroundCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="backgroundCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="backgroundCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
<data id="backgroundColorData" pref="true" preftype="color" prefstring="editor.background_color" prefattribute="value" wsm_attributes="value"/>
@ -137,19 +137,19 @@
</rows>
</grid>
<vbox id="ColorPreview" flex="1">
<spring flex="1"/>
<spacer flex="1"/>
<text class="label larger" id="NormalText" value="&normalText.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<text class="label larger" id="LinkText" value="&linkText.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<text class="label larger" id="ActiveLinkText" value="&activeLinkText.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<text class="label larger" id="VisitedLinkText" value="&visitedLinkText.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<text class="label small-margin" value="&backgroundImage.label;" accesskey="&backgroundImage.accesskey;"/>
<hbox valign="middle" autostretch="never">
<textbox id="BackgroundImageInput" oninput="ChangeBackgroundImage();" style="min-width: 23em" flex="1">

Просмотреть файл

@ -38,7 +38,7 @@
<script src="chrome://communicator/content/sidebar/sidebar.js" />
<vbox id="sidebox" flex="1">
<hbox class="sidebartitle">
<spring flex="1"/>
<spacer flex="1"/>
<button class="dialog borderless paneltitle"
label="&sidebar.reload.label;"
oncommand="window.location.reload()" />

Просмотреть файл

@ -98,7 +98,7 @@
</tree>
<hbox valign="middle" autostretch="never" flex="1">
<text class="label" value="&editAttribute.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<button class="dialog" label="&removeAttribute.label;" oncommand="RemoveHTMLAttribute();"/>
</hbox>
<grid>
@ -148,7 +148,7 @@
</tree>
<hbox valign="middle" autostretch="never" flex="1">
<text class="label" value="&editAttribute.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<button class="dialog" label="&removeAttribute.label;" oncommand="RemoveCSSAttribute();"/>
</hbox>
<grid>
@ -193,7 +193,7 @@
</tree>
<hbox valign="middle" autostretch="never" flex="1">
<text class="label" value="&editAttribute.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<button class="dialog" label="&removeAttribute.label;" oncommand="RemoveJSEAttribute()"/>
</hbox>
<grid>
@ -217,7 +217,7 @@
</vbox>
</tabpanels>
</tabbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<hbox id="okCancelHelpButtonsRight"/>
</window>

Просмотреть файл

@ -41,7 +41,7 @@
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
<broadcaster id="args" value=""/>
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<keyset id="dialogKeys"/>
<hbox id="TableOrCellGroup" valign="middle" autostretch="never" collapsed="true">
@ -64,7 +64,7 @@
<radio id="WebPalette" label="&webPalette.label;" oncommand="ChangePalette('web')"/>
</hbox>
-->
<spring class="spacer"/>
<spacer class="spacer"/>
<vbox flex="1">
<stack valign="middle" autostretch="never">
<button id="LastPickedButton" class="dialog" label="&lastPickedColor.label;"
@ -72,13 +72,13 @@
oncommand="SelectLastPickedColor();"/>
<hbox style="margin-left: 5px" mousethrough="always">
<vbox autostretch="never">
<spring flex="1"/>
<spring id="LastPickedColor"
<spacer flex="1"/>
<spacer id="LastPickedColor"
LastTextColor="" LastBackgroundColor=""
persist="LastTextColor LastBackgroundColor"/>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</stack>
<text class="label" value="&setColor1.label;"/>
@ -86,9 +86,9 @@
<text class="label" value="&setColorExample.label;"/>
<hbox valign="middle" autostretch="never" flex="1=">
<textbox id="ColorInput" style="width: 8em" oninput="SetColorSwatch()"/>
<spring flex="1"/>
<spring id="ColorPickerSwatch"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="ColorPickerSwatch"/>
<spacer flex="1"/>
<button id="DefaultColorButton" class="dialog" label="&default.label;"
style="margin-right:0px;" oncommand="RemoveColor()"/>
</hbox>

Просмотреть файл

@ -42,7 +42,7 @@
<script type="application/x-javascript" src="chrome://editor/content/EdColorProps.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<keyset id="dialogKeys"/>
<popupset id="aTooltipSet" />
@ -64,9 +64,9 @@
<stack>
<button id="TextButton" class="dialog color-button" oncommand="GetColorAndUpdate('textCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="textCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="textCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
</row>
@ -75,9 +75,9 @@
<stack>
<button id="LinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('linkCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="linkCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="linkCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
</row>
@ -86,9 +86,9 @@
<stack>
<button id="ActiveLinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('activeCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="activeCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="activeCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
</row>
@ -97,9 +97,9 @@
<stack>
<button id="VisitedLinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('visitedCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="visitedCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="visitedCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
</row>
@ -108,30 +108,30 @@
<stack>
<button id="BackgroundButton" class="dialog color-button" oncommand="GetColorAndUpdate('backgroundCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="backgroundCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="backgroundCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
</row>
</rows>
</grid>
<vbox id="ColorPreview" flex="1">
<spring flex="1"/>
<spacer flex="1"/>
<text class="label larger" id="NormalText" value="&normalText.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<text class="label larger" id="LinkText" value="&linkText.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<text class="label larger" id="ActiveLinkText" value="&activeLinkText.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<text class="label larger" id="VisitedLinkText" value="&visitedLinkText.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
</groupbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<text class="label" value="&backgroundImage.label;"/>
<hbox>
<textbox id="BackgroundImageInput" oninput="ChangeBackgroundImage()"
@ -142,9 +142,9 @@
</hbox>
<!-- from EdDialogOverlay.xul 'for' identifies the textfield to get URL from -->
<checkbox id="MakeRelativeCheckbox" for="BackgroundImageInput"/>
<spring class="smallspacer"/>
<spacer class="smallspacer"/>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<!-- from EdDialogOverlay.xul -->
<button class="dialog" id="AdvancedEditButton"/>
</hbox>

Просмотреть файл

@ -44,7 +44,7 @@
<!--- Element-specific methods -->
<script type="application/x-javascript" src="chrome://editor/content/EdConvertToTable.js"/>
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<keyset id="dialogKeys"/>
<popupset id="aTooltipSet"/>
<html flex="1">&instructions.label;</html>
@ -61,7 +61,7 @@
<textbox class="narrow" id="SepCharacterInput" oninput="InputSepCharacter()"/>
</hbox>
</radiogroup>
<spring class="spacer"/>
<spacer class="spacer"/>
<checkbox id="DeleteSepCharacter" label="&deleteCharCheck.label;" checked="true" persist="checked"/>
<separator class="groove"/>
<!-- from global dialogOverlay -->

Просмотреть файл

@ -31,7 +31,7 @@
<vbox id="AdvancedEdit" flex="1">
<hbox flex="1" style="margin-top: 0.2em" autostretch="never">
<!-- This will right-align the button -->
<spring flex="1"/>
<spacer flex="1"/>
<button class="dialog" id="AdvancedEditButton1" oncommand="onAdvancedEdit()" label="&AdvancedEditButton.label;"
tooltip="aTooltip" tooltiptext="&AdvancedEditButton.tooltip;"/>
</hbox>

Просмотреть файл

@ -41,7 +41,7 @@
<script type="application/x-javascript" src="chrome://editor/content/Ed?????.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<keyset id="dialogKeys"/>

Просмотреть файл

@ -35,7 +35,7 @@
<script type="application/x-javascript" src="chrome://editor/content/EdDictionary.js"/>
<broadcaster id="args" value=""/>
<spring id="location" offsetX="10" offsetY="10" persist="offsetX offsetY"/>
<spacer id="location" offsetX="10" offsetY="10" persist="offsetX offsetY"/>
<keyset id="keys">
<key keycode="VK_ENTER" oncommand="Close()"/>
<key keycode="VK_RETURN" oncommand="Close()"/>
@ -47,7 +47,7 @@
<rows>
<row>
<text class="label" value="&wordEditField.label;"/>
<spring/>
<spacer/>
</row>
<row>
<textbox id="WordInput" flex="1"/>
@ -55,7 +55,7 @@
</row>
<row>
<text class="label" value="&DictionaryList.label;"/>
<spring/>
<spacer/>
</row>
<row>
<tree rows="8" class="list" id="DictionaryList" flex="1">
@ -63,10 +63,10 @@
</tree>
<vbox flex="1">
<button class="dialog" id="ReplaceWord" oncommand="ReplaceWord()" label="&ReplaceButton.label;"/>
<spring class="spacer"/>
<spacer class="spacer"/>
<button class="dialog" id="RemoveWord" oncommand="RemoveWord()" label="&RemoveButton.label;"/>
<spring class="spacer"/>
<spring flex="1"/>
<spacer class="spacer"/>
<spacer flex="1"/>
<button class="exit-dialog" id="close" label="&CloseButton.label;" default="true" oncommand="Close();"/>
</vbox>
</row>

Просмотреть файл

@ -44,7 +44,7 @@
<!--- Element-specific methods -->
<script type="application/x-javascript" src="chrome://editor/content/EdHLineProps.js"/>
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<keyset id="dialogKeys"/>
<popupset id="aTooltipSet" />
@ -69,18 +69,18 @@
</groupbox>
<groupbox><caption align="left" label="&alignmentBox.label;"/>
<radiogroup id="alignmentGroup" orient="horizontal">
<spring class="spacer"/>
<spacer class="spacer"/>
<radio group="alignmentGroup" id="leftAlign" label="&leftRadio.value;" />
<radio group="alignmentGroup" id="centerAlign" label="&centerRadio.value;" />
<radio group="alignmentGroup" id="rightAlign" label="&rightRadio.value;" />
</radiogroup>
</groupbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<hbox>
<button class="dialog" id="SaveDefault" label="&saveSettings.label;"
oncommand="onSaveDefault()"
tooltip="aTooltip" tooltiptext="&saveSettings.tooltip;" />
<spring flex="1"/>
<spacer flex="1"/>
<button id="AdvancedEditButton"/>
</hbox>
<separator class="groove"/>

Просмотреть файл

@ -126,7 +126,7 @@
</menupopup>
</menu>
<spring flex="1"/>
<spacer flex="1"/>
</menubar>
@ -136,7 +136,7 @@
<button id="pasteButton" class="button-toolbar-2 top" command="Map:Paste"/>
<button id="zoomInButton" class="button-toolbar-2 top" command="Map:ZoomIn"/>
<button id="zoomOutButton" class="button-toolbar-2 top" command="Map:ZoomOut"/>
<spring flex="1"/>
<spacer flex="1"/>
</toolbar>
</toolbox>
@ -148,7 +148,7 @@
<button id="rectButton" class="tool" oncommand="changeTool(event, 'rect');"/>
<button id="cirButton" class="tool" oncommand="changeTool(event, 'cir');"/>
<button id="polyButton" class="tool" oncommand="changeTool(event, 'poly');"/>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
</toolbar>

Просмотреть файл

@ -42,7 +42,7 @@
<script type="application/x-javascript" src="chrome://editor/content/EdImageMapHotSpot.js"/>
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<groupbox orient="vertical" flex="1">

Просмотреть файл

@ -49,7 +49,7 @@
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<keyset id="dialogKeys"/>
<popupset id="aTooltipSet" />
@ -71,11 +71,11 @@
<checkbox
id = "MakeRelativeCheckbox"
for = "srcInput"/>
<spring flex="1"/>
<spacer flex="1"/>
<!-- from EdDialogOverlay.xul -->
<button id="ChooseFile"/>
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<hbox>
<text class = "label"
id = "altTextLabel"
@ -88,9 +88,9 @@
tooltip = "aTooltip" tooltiptext="&altTextEditField.tooltip;"
flex = "1"/>
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
</groupbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<hbox align="center">
<button
class = "dialog"
@ -98,32 +98,32 @@
oncommand = "onMoreFewer()"
tooltip = "aTooltip" tooltiptext = "&MoreFewerButton.tooltip;"
persist = "more"/>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<groupbox style="padding-left: 8px; padding-right: 8px">
<caption label="&previewBox.label;"/>
<hbox id="preview-image-box" align="center">
<spring flex="1"/>
<spacer flex="1"/>
<html id="preview-image-holder"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
<vbox id="PreviewSize" collapsed="true">
<spring flex="1"/>
<spacer flex="1"/>
<text class="label" value="&actualSize.label;"/>
<hbox>
<text class="label" value="&widthEditField.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<text id="PreviewWidth" class="label"/>
</hbox>
<hbox>
<text class="label" value="&heightEditField.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<text id="PreviewHeight" class="label"/>
</hbox>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
</groupbox>
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<!-- Area that shows and hides via MoreFewerButton -->
<vbox id="MoreSection" flex="1">
<hbox>
@ -146,17 +146,17 @@
tooltip = "aTooltip" tooltiptext="&customSizeRadio.tooltip;"
oncommand = "doDimensionEnabling();" />
</radiogroup>
<spring flex="1"/>
<spacer flex="1"/>
<vbox>
<spring flex="1"/>
<spacer flex="1"/>
<!--////// CONSTRAIN DIMENSIONS //////-->
<checkbox id="constrainCheckbox" label="&constrainCheckbox.label;"
oncommand="ToggleConstrain()"
tooltip="aTooltip" tooltiptext="&constrainCheckbox.tooltip;"/>
</vbox>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<grid class="big-left-margin">
<columns><column/><column/><column flex="1"/></columns>
<rows>
@ -190,7 +190,7 @@
</row>
</rows>
</grid>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<!--////// IMAGE MAP BUTTONS //////-->
<groupbox orient="vertical" flex="1">
@ -212,9 +212,9 @@
oncommand = "removeImageMap()"
label = "&removeImageMapButton.label;"
flex = "1"/>
<spring flex="1"/><!-- remove when we restore Image Map Editor -->
<spacer flex="1"/><!-- remove when we restore Image Map Editor -->
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
</groupbox>
</vbox> <!-- vert. box on bottom left side -->
@ -223,7 +223,7 @@
<!--//////// Alignment ////////-->
<groupbox flex="1" orient="vertical">
<caption id="alignLabel" label="&alignment.label;"/>
<spring class="spacer"/>
<spacer class="spacer"/>
<menulist id="alignTypeSelect" class="align-menu">
<menupopup>
<menuitem class="align-menu" value="top" label="&topPopup.value;"/>

Просмотреть файл

@ -41,7 +41,7 @@
<script type="application/x-javascript" src="chrome://editor/content/EdInsSrc.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<keyset id="dialogKeys"/>
@ -51,13 +51,13 @@
</vbox>
<!-- Will this accept the embedded HTML tags? -->
<hbox>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<text value="&example.label;"/>
<text class="bold" value="&exampleOpenTag.label;"/>
<text class="bold italic" value="&exampleText.label;"/>
<text class="bold" value="&exampleCloseTag.label;"/>
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<separator class="groove"/>
<!-- from global dialogOverlay -->
<hbox id="okCancelButtons"/>

Просмотреть файл

@ -41,7 +41,7 @@
<script type="application/x-javascript" src="chrome://editor/content/EdInsertChars.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<keyset id="dialogKeys"/>
<broadcaster id="args" value=""/>
@ -53,7 +53,7 @@
<radio group="CatGrp" id="Lower" label="&otherLower.label;" oncommand="ChangeCategory(this.id)"/>
<radio group="CatGrp" id="Symbol" label="&commonSymbols.label;" oncommand="ChangeCategory(this.id)"/>
</radiogroup>
<spring class="spacer"/>
<spacer class="spacer"/>
</groupbox>
<hbox>
<vbox flex="1">

Просмотреть файл

@ -44,7 +44,7 @@
<script type="application/x-javascript" src="chrome://editor/content/EdInsertTable.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js"/>
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<keyset id="dialogKeys"/>
<popupset id="aTooltipSet" />
@ -55,12 +55,12 @@
<row valign="middle" text-align="right" autostretch="never">
<text class="label align-right" text-align="right" value="&numRowsEditField.label;" />
<textbox class="narrow" id="rowsInput" oninput="ChangeRowOrColumn(this.id)" />
<spring/>
<spacer/>
</row>
<row valign="middle" text-align="right" autostretch="never">
<text class="label align-right" value="&numColumnsEditField.label;" />
<textbox class="narrow" id="columnsInput" oninput="ChangeRowOrColumn(this.id)" />
<spring/>
<spacer/>
</row>
<row valign="middle" text-align="right" autostretch="never">
<text class="label align-right" value="&widthEditField.label;" />
@ -70,9 +70,9 @@
</row>
</rows>
</grid>
<spring class="spacer"/>
<spacer class="spacer"/>
</groupbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<hbox valign="middle" autostretch="never">
<text class="label align-right" text-align="right" value="&borderEditField.label;"
tooltip="aTooltip" tooltiptext="&borderEditField.tooltip;" />

Просмотреть файл

@ -44,7 +44,7 @@
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
<broadcaster id="args" value=""/>
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<keyset id="dialogKeys"/>
<popupset id="aTooltipSet" />
@ -62,22 +62,22 @@
<hbox autostretch="never" valign="middle">
<!-- from EdDialogOverlay.xul 'for' identifies the textfield to get URL from -->
<checkbox id="MakeRelativeCheckbox" for="hrefInput"/>
<spring flex="1"/>
<spacer flex="1"/>
<button class="dialog" id="ChooseFile"/>
</hbox>
<html class="wrap" flex="1" id="RemoveLinkMsg" style="margin-bottom: 7px">&RemoveLinkMsg.label;</html>
<spring class="smallspacer"/>
<spacer class="smallspacer"/>
<hbox autostretch="never">
<button class="dialog" id="MoreFewerButton" oncommand="onMoreFewer()" persist="more"/>
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<vbox id="MoreSection">
<spring class="spacer"/>
<spacer class="spacer"/>
<text class="label" value="&NamedAnchorMsg.label;"/>
<tree rows="4" class="list" id="NamedAnchorList" onselect="SelectNamedAnchor()">
<treecolgroup><treecol flex="1"/></treecolgroup>
</tree>
<spring class="spacer"/>
<spacer class="spacer"/>
<text class="label" value="&HeadingMsg.label;"/>
<tree rows="4" class="list" id="HeadingsList" onselect="SelectHeading()">
<treecolgroup><treecol flex="1"/></treecolgroup>

Просмотреть файл

@ -41,7 +41,7 @@
<keyset id="dialogKeys"/>
<broadcaster id="args" value=""/>
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<groupbox orient="vertical" flex="1"><caption label="&ListType.label;"/>
<menulist id="ListType" oncommand="SelectListType()">
@ -57,18 +57,18 @@
<radio group="RadioGroup" id="ChangeSelected" label="&changeSelectedRadio.label;"/>
</radiogroup>
</groupbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<!-- message text and list items are set in JS
text value should be identical to string with id=BulletStyle in editor.properties
-->
<groupbox orient="vertical" flex="1"><caption id="BulletStyleLabel" label="&bulletStyle.label;"/>
<menulist class="MinWidth10em" id="BulletStyle" oncommand="SelectBulletStyle()"/>
<spring class="spacer"/>
<spacer class="spacer"/>
<hbox>
<text class="label" id="StartingNumberLabel" value="&startingNumber.label;"/>
<textbox class="narrow" id="StartingNumber" oninput="forceInteger(this.id)"/>
<spring/>
<spacer/>
</hbox>
<html id="StartExample" class="wrap" flex="1" style="width: 1em">&startingHelp.label;</html>
</groupbox>

Просмотреть файл

@ -43,14 +43,14 @@
<script type="application/x-javascript" src="chrome://editor/content/EdNamedAnchorProps.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<keyset id="dialogKeys"/>
<popupset id="aTooltipSet" />
<text class="label" align="left" for="nameInput" value="&anchorNameEditField.label;"/>
<textbox class="MinWidth20em" id="nameInput" oninput="ChangeName()"
tooltip="aTooltip" tooltiptext="&nameInput.tooltip;"/>
<spring class="spacer"/>
<spacer class="spacer"/>
<!-- from EdDialogOverlay -->
<vbox id="AdvancedEdit"/>
<!-- from global dialogOverlay -->

Просмотреть файл

@ -41,7 +41,7 @@
<script type="application/x-javascript" src="chrome://editor/content/EdPageProps.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<keyset id="dialogKeys"/>
<grid>
@ -55,7 +55,7 @@
<text class="label" value="&lastModified.label;" align="left"/>
<text class="label" id="PageModDate" align="left"/>
</row>
<spring class="spacer"/>
<spacer class="spacer"/>
<row valign="middle">
<text class="label" value="&titleInput.label;"/>
<textbox class="MinWidth20em" id="TitleInput" oninput="TextboxChanged(this.id)"/>
@ -70,7 +70,7 @@
</row>
</rows>
</grid>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<html class="wrap" flex="1">&EditHEADSource.label;</html>
<separator class="groove"/>
<hbox id="okCancelButtons"/>

Просмотреть файл

@ -38,7 +38,7 @@
<script type="application/x-javascript" src="chrome://editor/content/EdSpellCheck.js"/>
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<keyset id="keys">
<key keycode="VK_ENTER" oncommand="doDefault()"/>
<key keycode="VK_RETURN" oncommand="doDefault()"/>
@ -55,7 +55,7 @@
<row valign="middle" autostretch="never">
<text class="label" id="MisspelledWordLabel" value="&misspelledWord.label;"/>
<text class="label bold" id="MisspelledWord" crop="right"/>
<spring/>
<spacer/>
</row>
<row valign="middle" autostretch="never">
<text class="label" id="ReplaceWordLabel" value="&wordEditField.label;"/>
@ -91,7 +91,7 @@
</row>
</rows>
</grid>
<spring flex="1"/>
<spacer flex="1"/>
<text class="label" value="&userDictionary.label;"/>
<hbox flex="1" autostretch="never">
<button class="dialog spell-check" id="AddToDictionary" oncommand="AddToDictionary()" label="&addToUserDictionaryButton.label;" />
@ -101,7 +101,7 @@
</row>
<row>
<text class="label" value ="&languagePopup.label;"/>
<spring/>
<spacer/>
</row>
<row>
<menulist id="LanguageMenulist" oncommand="SelectLanguage()"/>

Просмотреть файл

@ -43,7 +43,7 @@
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<keyset id="dialogKeys"/>
@ -70,7 +70,7 @@
</row>
</rows>
</grid>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<grid>
<columns><column/><column/><column flex="1"/></columns>
<rows>
@ -114,7 +114,7 @@
<menuitem label="&AlignRight.label;" value="right"/>
</menupopup>
</menulist>
<spring class="spacer"/>
<spacer class="spacer"/>
<text class="label" value="&tableCaption.label;"/>
<menulist id="TableCaptionList">
<menupopup>
@ -130,21 +130,21 @@
<stack>
<button class="dialog color-button" oncommand="GetColorAndUpdate('tableBackgroundCW');"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="tableBackgroundCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="tableBackgroundCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
<spring class="spacer"/>
<spacer class="spacer"/>
<text class="label" id="TableInheritColor" value="&tableInheritColor.label;" collapsed="true"/>
</hbox>
<separator class="groove"/>
<hbox flex="1" autostretch="never">
<spring flex="1"/>
<spacer flex="1"/>
<!-- From EdDialogOvlerlay.xul -->
<button class="dialog" id="AdvancedEditButton"/>
</hbox>
<spring flex="1"/>
<spacer flex="1"/>
</vbox><!-- Table Panel -->
<!-- CELL PANEL -->
@ -165,7 +165,7 @@
<button id="NextButton" class="dialog align-right" label="&cellSelectNext.label;" oncommand="MoveSelection(1)" flex="1"/>
</hbox>
</vbox>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<vbox flex="1">
<text class="label" value="&applyBeforeChange1.label;"/>
<text class="label" value="&applyBeforeChange2.label;"/>
@ -191,7 +191,7 @@
</row>
</rows>
</grid>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
</groupbox>
<!-- Alignment -->
<groupbox><caption label="&cellContentAlignment.label;"/>
@ -223,7 +223,7 @@
</grid>
</groupbox>
</hbox>
<spring class="spacer"/>
<spacer class="spacer"/>
<hbox valign="middle" autostretch="never">
<checkbox id="CellStyleCheckbox" label="&cellStyle.label;"/>
<menulist id="CellStyleList" oncommand="SetCheckbox('CellStyleCheckbox');">
@ -232,7 +232,7 @@
<menuitem label="&cellHeader.label;" value="th"/>
</menupopup>
</menulist>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<checkbox id="TextWrapCheckbox" label="&cellTextWrap.label;"/>
<menulist id="TextWrapList" oncommand="SetCheckbox('TextWrapCheckbox');">
<menupopup>
@ -247,12 +247,12 @@
<stack>
<button class="dialog color-button" oncommand="GetColorAndUpdate('cellBackgroundCW');" flex="1"/>
<hbox autostretch="never" valign="middle" mousethrough="always">
<spring flex="1"/>
<spring id="cellBackgroundCW" class="color-well"/>
<spring flex="1"/>
<spacer flex="1"/>
<spacer id="cellBackgroundCW" class="color-well"/>
<spacer flex="1"/>
</hbox>
</stack>
<spring class="spacer"/>
<spacer class="spacer"/>
<text class="label" id="CellInheritColor" value="&cellInheritColor.label;" collapsed="true"/>
</hbox>
<separator class="groove"/>
@ -261,14 +261,14 @@
<!-- From EdDialogOvlerlay.xul -->
<button class="dialog" id="AdvancedEditButton2"/>
</hbox>
<spring flex="1"/>
<spacer flex="1"/>
</vbox><!-- Cell Panel -->
</tabpanels>
<spring class="spacer"/>
<spacer class="spacer"/>
<!-- from EdDialogOverlay -->
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<hbox id="okCancelHelpButtonsRight"/>
</hbox>
</tabbox>

Просмотреть файл

@ -41,25 +41,25 @@
<script type="application/x-javascript" src="chrome://editor/content/EditConflict.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<keyset id="dialogKeys"/>
<popupset id="aTooltipSet" />
<text class="label" value ="&conflictWarning.label;"/>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<text class="label" value ="&conflictResolve.label;"/>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<hbox flex="1">
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<button class="dialog" label="&keepCurrentPageButton.label;"
flex="1" oncommand="KeepCurrentPage()"/>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
</hbox>
<hbox flex="1">
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
<button class="dialog" label="&useOtherPageButton.label;"
flex="1" oncommand="UseOtherPage()"/>
<spring class="bigspacer"/>
<spacer class="bigspacer"/>
</hbox>
</window>

Просмотреть файл

@ -44,7 +44,7 @@
<script type="application/x-javascript" src="chrome://editor/content/EditorSaveAsCharset.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<keyset id="dialogKeys"/>

Просмотреть файл

@ -96,7 +96,7 @@
<hbox>
<button class="dialog" id="default.set" label="&default.set.label;" accesskey="&default.set.accesskey;"
oncommand="dialog.setDefault()"/>
<spring flex="1"/>
<spacer flex="1"/>
<hbox id="okCancelButtonsRight"/>
</hbox>

Просмотреть файл

@ -152,7 +152,7 @@
<separator class="thin"/>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<button id="downloadContentPacks"
label="&downloadContentPacks.label;"
accesskey="&downloadContentPacks.accesskey;"

Просмотреть файл

@ -108,7 +108,7 @@
tooltip="aTooltip"
oncommand="goHome();"/>
<spring flex="1"/>
<spacer flex="1"/>
<button id="print" class="button-toolbar-1 top" label="&printButton.label;"
tooltip="aTooltip" tooltiptext="&printButton.tooltip;" oncommand="print();"/>

Просмотреть файл

@ -9,12 +9,12 @@
<binding id="titledSplitter" extends="chrome://global/content/bindings/splitter.xml#splitter">
<content>
<xul:box class="titledsplitter-container" orient="vertical" flex="1">
<xul:spring class="titledsplitter-dragbar"/>
<xul:spacer class="titledsplitter-dragbar"/>
<xul:box class="titledsplitter-titlebox" flex="1" onmousedown="event.stopPropagation()">
<xul:box autostretch="never">
<xul:text class="titledsplitter-text" inherits="value=label"/>
</xul:box>
<xul:spring flex="1"/>
<xul:spacer flex="1"/>
<xul:button class="titledsplitter-closebutton" autostretch="never"
onclick="this.parentNode.parentNode.parentNode.close();">
<xul:image class="titledsplitter-closeimage"/>

Просмотреть файл

@ -7,13 +7,13 @@
orient="vertical"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<spring flex="1"/>
<spacer flex="1"/>
<hbox id="bxOuter" flex="1">
<spring flex="1"/>
<spacer flex="1"/>
<hbox id="bxCenter" autostretch="never"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
<spring flex="1"/>
<spacer flex="1"/>
</window>

Просмотреть файл

@ -77,7 +77,7 @@
<button label="Capture" command="cmdCapture"/>
<button label="Pick Color..." command="cmdOpenColorPicker"/>
<button label="Save As..." command="cmdSaveImage"/>
<spring flex="1"/>
<spacer flex="1"/>
<checkbox id="cbxShowOutlines" label="Show Boxes" command="cmdToggleOutlines"/>
<checkbox id="cbxFillOutlines" label="Fill Boxes" command="cmdToggleFill"/>

Просмотреть файл

@ -54,7 +54,7 @@
]]></script>
<vbox>
<spring id="bxColorSwatch" width="50" height="50" style="background-color: #FFFFFF"/>
<spacer id="bxColorSwatch" width="50" height="50" style="background-color: #FFFFFF"/>
<textbox id="txColor" readonly="true"/>
</vbox>
<vbox flex="1">

Просмотреть файл

@ -405,7 +405,7 @@
<text id="channel-name" value="(none)" crop="right"/>
<text id="channel-topicby" value="(nobody)" crop="right"/>
</vbox>
<spring flex="20%"/>
<spacer flex="20%"/>
<vbox class="status-label" crop="right">
<text value="&server.label;" crop="right"/>
<text value="&mode.label;" crop="right"/>
@ -417,7 +417,7 @@
<text id="server-name" value="(none)" crop="right"/>
<text id="channel-mode" value="(none)" crop="right"/>
</vbox>
<spring flex="100%"/>
<spacer flex="100%"/>
<vbox class="status-label" crop="right">
<text value="&nickname.label;" crop="right"/>
<text value="&users.label;" crop="right"/>
@ -426,7 +426,7 @@
<text id="server-nick" value="(unknown)" crop="right"/>
<text id="channel-users" value="(none)" crop="right"/>
</vbox>
<spring flex="100%"/>
<spacer flex="100%"/>
<vbox class="status-label" crop="right">
<text value="&lag.label;" crop="right"/>
<text value="&limit.label;" crop="right"/>
@ -435,7 +435,7 @@
<text id="server-lag" value="-1" crop="right"/>
<text id="channel-limit" value="(none)" crop="right"/>
</vbox>
<spring flex="100%"/>
<spacer flex="100%"/>
<vbox class="status-label" crop="right"
collapsed="true">
<text value="&lastPing.label;" crop="right"/>

Просмотреть файл

@ -31,7 +31,7 @@
<hbox class="header">
<button class="left-header-text" label="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<spacer class="header-spacer" flex="1"/>
<button class="right-header-text" label="&rHeader;"/>
</hbox>

Просмотреть файл

@ -119,9 +119,9 @@
<separator/>
<hbox autostretch="never">
<spring flex="1"/>
<spacer flex="1"/>
<button id="ok" value="&okButton.label;" default="true" align="center" onclick="doOKButton()"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</window>

Просмотреть файл

@ -49,12 +49,12 @@
<text id="currentURI" value=""/>
<separator/>
<spring flex="1"/>
<spacer flex="1"/>
<hbox autostretch="never">
<spring flex="1"/>
<spacer flex="1"/>
<button id="refresh" value="&refreshButton.label;" onclick="doRefreshButton()"/>
<button id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</window>

Просмотреть файл

@ -116,11 +116,11 @@
</hbox>
<separator/>
<spring flex="1"/>
<spacer flex="1"/>
<hbox autostretch="never">
<spring flex="1"/>
<spacer flex="1"/>
<button id="ok" value="&okButton.label;" default="true" align="center" onclick="doOKButton()"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</window>

Просмотреть файл

@ -119,9 +119,9 @@
<separator/>
<hbox autostretch="never">
<spring flex="1"/>
<spacer flex="1"/>
<button id="ok" value="&okButton.label;" default="true" align="center" onclick="doOKButton()"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</window>

Просмотреть файл

@ -119,9 +119,9 @@
<separator/>
<hbox autostretch="never">
<spring flex="1"/>
<spacer flex="1"/>
<button id="ok" value="&okButton.label;" default="true" align="center" onclick="doOKButton()"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</window>

Просмотреть файл

@ -119,9 +119,9 @@
<separator/>
<hbox autostretch="never">
<spring flex="1"/>
<spacer flex="1"/>
<button id="ok" value="&okButton.label;" default="true" align="center" onclick="doOKButton()"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</window>

Просмотреть файл

@ -250,7 +250,7 @@
<button id="customizebutton" value="&customize.label;"
accesskey="&custom.accesskey;"
oncommand="doCustomize();"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</radiogroup>
</groupbox>
@ -461,7 +461,7 @@
<vbox style="width:100px">>
<text class="header" value="physical"/>
<html>&physical.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -479,7 +479,7 @@
<checkbox id="P3PPhysicalHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.physical.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -493,7 +493,7 @@
<checkbox id="P3PPhysicalIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.physical.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -512,7 +512,7 @@
<checkbox id="P3PPhysicalIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.physical.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -526,7 +526,7 @@
<checkbox id="P3PPhysicalTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.physical.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -553,7 +553,7 @@
<vbox style="width:100px">
<text class="header" value="location"/>
<html>&location.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -571,7 +571,7 @@
<checkbox id="P3PLocationHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.location.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -585,7 +585,7 @@
<checkbox id="P3PLocationIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.location.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -604,7 +604,7 @@
<checkbox id="P3PLocationIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.location.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -618,7 +618,7 @@
<checkbox id="P3PLocationTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.location.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -651,7 +651,7 @@
<vbox style="width:100px">
<text class="header" value="online"/>
<html>&online.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -669,7 +669,7 @@
<checkbox id="P3POnlineHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.online.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -683,7 +683,7 @@
<checkbox id="P3POnlineIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.online.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -702,7 +702,7 @@
<checkbox id="P3POnlineIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.online.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -716,7 +716,7 @@
<checkbox id="P3POnlineTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.online.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -749,7 +749,7 @@
<vbox style="width:100px">
<text class="header" value="computer"/>
<html>&computer.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -767,7 +767,7 @@
<checkbox id="P3PComputerHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.computer.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -781,7 +781,7 @@
<checkbox id="P3PComputerIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.computer.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -800,7 +800,7 @@
<checkbox id="P3PComputerIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.computer.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -814,7 +814,7 @@
<checkbox id="P3PComputerTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.computer.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -841,7 +841,7 @@
<vbox style="width:100px">
<text class="header" value="state"/>
<html>&state.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -859,7 +859,7 @@
<checkbox id="P3PStateHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.state.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -873,7 +873,7 @@
<checkbox id="P3PStateIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.state.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -892,7 +892,7 @@
<checkbox id="P3PStateIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.state.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -906,7 +906,7 @@
<checkbox id="P3PStateTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.state.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -933,7 +933,7 @@
<vbox style="width:100px">
<text class="header" value="uniqueid"/>
<html>&uniqueid.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -951,7 +951,7 @@
<checkbox id="P3PUniqueIDHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.uniqueid.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -965,7 +965,7 @@
<checkbox id="P3PUniqueIDIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.uniqueid.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -984,7 +984,7 @@
<checkbox id="P3PUniqueIDIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.uniqueid.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -998,7 +998,7 @@
<checkbox id="P3PUniqueIDTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.uniqueid.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1025,7 +1025,7 @@
<vbox style="width:100px">
<text class="header" value="government"/>
<html>&government.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1043,7 +1043,7 @@
<checkbox id="P3PGovernmentHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.government.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1057,7 +1057,7 @@
<checkbox id="P3PGovernmentIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.government.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1076,7 +1076,7 @@
<checkbox id="P3PGovernmentIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.government.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1090,7 +1090,7 @@
<checkbox id="P3PGovernmentTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.government.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1123,7 +1123,7 @@
<vbox style="width:100px">
<text class="header" value="purchase"/>
<html>&purchase.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1141,7 +1141,7 @@
<checkbox id="P3PPurchaseHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.purchase.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1155,7 +1155,7 @@
<checkbox id="P3PPurchaseIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.purchase.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1174,7 +1174,7 @@
<checkbox id="P3PPurchaseIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.purchase.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1188,7 +1188,7 @@
<checkbox id="P3PPurchaseTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.purchase.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1221,7 +1221,7 @@
<vbox style="width:100px">
<text class="header" value="financial"/>
<html>&financial.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1239,7 +1239,7 @@
<checkbox id="P3PFinancialHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.financial.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1253,7 +1253,7 @@
<checkbox id="P3PFinancialIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.financial.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1272,7 +1272,7 @@
<checkbox id="P3PFinancialIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.financial.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1286,7 +1286,7 @@
<checkbox id="P3PFinancialTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.financial.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1313,7 +1313,7 @@
<vbox style="width:100px">
<text class="header" value="health"/>
<html>&health.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1331,7 +1331,7 @@
<checkbox id="P3PHealthHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.health.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1345,7 +1345,7 @@
<checkbox id="P3PHealthIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.health.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1364,7 +1364,7 @@
<checkbox id="P3PHealthIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.health.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1378,7 +1378,7 @@
<checkbox id="P3PHealthTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.health.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1405,7 +1405,7 @@
<vbox style="width:100px">
<text class="header" value="political"/>
<html>&political.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1423,7 +1423,7 @@
<checkbox id="P3PPoliticalHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.political.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1437,7 +1437,7 @@
<checkbox id="P3PPoliticalIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.political.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1456,7 +1456,7 @@
<checkbox id="P3PPoliticalIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.political.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1470,7 +1470,7 @@
<checkbox id="P3PPoliticalTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.political.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1503,7 +1503,7 @@
<vbox style="width:100px">
<text class="header" value="navigation"/>
<html>&navigation.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1521,7 +1521,7 @@
<checkbox id="P3PNavigationHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.navigation.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1535,7 +1535,7 @@
<checkbox id="P3PNavigationIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.navigation.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1554,7 +1554,7 @@
<checkbox id="P3PNavigationIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.navigation.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1568,7 +1568,7 @@
<checkbox id="P3PNavigationTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.navigation.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1595,7 +1595,7 @@
<vbox style="width:100px">
<text class="header" value="interactive"/>
<html>&interactive.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1613,7 +1613,7 @@
<checkbox id="P3PInteractiveHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.interactive.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1627,7 +1627,7 @@
<checkbox id="P3PInteractiveIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.interactive.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1646,7 +1646,7 @@
<checkbox id="P3PInteractiveIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.interactive.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1660,7 +1660,7 @@
<checkbox id="P3PInteractiveTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.interactive.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1693,7 +1693,7 @@
<vbox style="width:100px">
<text class="header" value="demographic"/>
<html>&demographic.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1711,7 +1711,7 @@
<checkbox id="P3PDemographicHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.demographic.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1725,7 +1725,7 @@
<checkbox id="P3PDemographicIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.demographic.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1744,7 +1744,7 @@
<checkbox id="P3PDemographicIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.demographic.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1758,7 +1758,7 @@
<checkbox id="P3PDemographicTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.demographic.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1785,7 +1785,7 @@
<vbox style="width:100px">
<text class="header" value="preference"/>
<html>&preference.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1803,7 +1803,7 @@
<checkbox id="P3PPreferenceHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.preference.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1817,7 +1817,7 @@
<checkbox id="P3PPreferenceIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.preference.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1836,7 +1836,7 @@
<checkbox id="P3PPreferenceIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.preference.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1850,7 +1850,7 @@
<checkbox id="P3PPreferenceTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.preference.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1883,7 +1883,7 @@
<vbox style="width:100px">
<text class="header" value="content"/>
<html>&content.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1901,7 +1901,7 @@
<checkbox id="P3PContentHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.content.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1915,7 +1915,7 @@
<checkbox id="P3PContentIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.content.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1934,7 +1934,7 @@
<checkbox id="P3PContentIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.content.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -1948,7 +1948,7 @@
<checkbox id="P3PContentTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.content.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -1981,7 +1981,7 @@
<vbox style="width:100px">
<text class="header" value="other"/>
<html>&other.tip;</html>
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="horizontal">
<caption><text value="&purpose.label;" tooltip="purposetip"/></caption>
<grid>
@ -1999,7 +1999,7 @@
<checkbox id="P3POtherHistorical" value="historical" tooltip="historicaltip"
pref="true" preftype="bool" prefstring="P3P.other.historical" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -2013,7 +2013,7 @@
<checkbox id="P3POtherIndividual-analysis" value="individual-analysis" tooltip="individual-analysistip"
pref="true" preftype="bool" prefstring="P3P.other.individual-analysis" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>
@ -2032,7 +2032,7 @@
<checkbox id="P3POtherIndividual-decision" value="individual-decision" tooltip="individual-decisiontip"
pref="true" preftype="bool" prefstring="P3P.other.individual-decision" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
<groupbox orient="vertical">
@ -2046,7 +2046,7 @@
<checkbox id="P3POtherTelemarketing" value="telemarketing" tooltip="telemarketingtip"
pref="true" preftype="bool" prefstring="P3P.other.telemarketing" prefattribute="checked"
/>
<spring flex="1"/>
<spacer flex="1"/>
</groupbox>
</row>

Просмотреть файл

@ -58,13 +58,13 @@
</menupopup>
</menulist>
</groupbox>
<spring flex="1" /></hbox>
<spacer flex="1" /></hbox>
<hbox><groupbox orient="horizontal"><caption label="stats" />
<text value="tests run: "/><text id="tests_run" value="0" />
<text value=" tests passed: "/><text id="tests_passed" value="0"/>
<text value=" tests failed: "/><text id="tests_failed" value="0"/>
</groupbox>
<spring flex="1" /></hbox>
<spacer flex="1" /></hbox>
<outliner id="out" flex="1">
<outlinercol id="name" label="Name" flex="1"/>

Просмотреть файл

@ -82,10 +82,10 @@
<content>
<xul:stack class="grabber-stack" flex="1">
<xul:box class="grabber-base">
<xul:spring class="track-left" flex="1"/>
<xul:spring class="track-center"/>
<xul:spring class="track-right" flex="1"/>
<xul:spring class="grabber-right" inherits="state"/>
<xul:spacer class="track-left" flex="1"/>
<xul:spacer class="track-center"/>
<xul:spacer class="track-right" flex="1"/>
<xul:spacer class="grabber-right" inherits="state"/>
</xul:box>
<xul:box class="grabber-container">
<xul:box class="grabber-box-1" flex="1">
@ -98,10 +98,10 @@
<binding id="grabber-track" extends="xul:box">
<content>
<xul:spring class="track-left" flex="1"/>
<xul:spring class="track-center" inherits="state"/>
<xul:spring class="track-right" flex="1"/>
<xul:spring class="grabber-right" inherits="state"/>
<xul:spacer class="track-left" flex="1"/>
<xul:spacer class="track-center" inherits="state"/>
<xul:spacer class="track-right" flex="1"/>
<xul:spacer class="grabber-right" inherits="state"/>
</content>
</binding>

Просмотреть файл

@ -8,12 +8,12 @@
orient="vertical">
<vbox moz-vixen="true" flex="1">
<hbox><text value="Foopy" style="border: 1px solid green"/><spring flex="1"/></hbox>
<hbox><text value="Noopy" style="border: 1px solid green"/><spring flex="1"/></hbox>
<hbox><text value="Foopy" style="border: 1px solid green"/><spacer flex="1"/></hbox>
<hbox><text value="Noopy" style="border: 1px solid green"/><spacer flex="1"/></hbox>
</hbox>
<vbox moz-vixen="true">
<hbox><text value="Foopy 2" style="border: 1px solid green"/><spring flex="1"/></hbox>
<hbox><text value="Noopy 2" style="border: 1px solid green"/><spring flex="1"/></hbox>
<hbox><text value="Foopy 2" style="border: 1px solid green"/><spacer flex="1"/></hbox>
<hbox><text value="Noopy 2" style="border: 1px solid green"/><spacer flex="1"/></hbox>
</hbox>
</window>

Просмотреть файл

@ -82,8 +82,8 @@
oncommand="nsVFD.insertBoxElement('grid-row');"/>
<command id="cmd_insert_grid_col"
oncommand="nsVFD.insertBoxElement('grid-col');"/>
<command id="cmd_insert_spring"
oncommand="nsVFD.insertBoxElement('spring');"/>
<command id="cmd_insert_spacer"
oncommand="nsVFD.insertBoxElement('spacer');"/>
<command id="cmd_insert_splitter"
oncommand="nsVFD.insertBoxElement('splitter');"/>

Просмотреть файл

@ -66,7 +66,7 @@
<toolbarseparator/>
<button class="button-toolbar" label="Add Attribute"/>
<button class="button-toolbar" label="Remove Attribute"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
</vbox>
</tabpanels>

Просмотреть файл

@ -41,12 +41,12 @@
<keyset id="dialogKeys"/>
<vbox id="system" flex="100%">
<spring style="height: 7px;"/>
<spacer style="height: 7px;"/>
<text class="label" value="&div.walletdataonsystem.label;"/>
<separator orient="horizontal" class="groove"/>
<spring style="height: 10px;"/>
<spacer style="height: 10px;"/>
<hbox id="system1" flex="100%">
<spring style="width: 7px;"/>
<spacer style="width: 7px;"/>
<vbox>
<text class="label" value="&treehead.schemaname.label;"/>
<tree multiple="true" id="schematree" class="inset"
@ -61,7 +61,7 @@
<button id="addSchema" class="dialog push" disabled="false" label="&button.addschema.label;" oncommand="AddSchema();"/>
</hbox>
</vbox>
<spring style="width: 7px;"/>
<spacer style="width: 7px;"/>
<vbox>
<text class="label" id="entrytext" value2="&treehead.entries.label;" value3="&treehead.entries1.label;"/>
<tree multiple="true" id="entrytree" class="inset"
@ -71,7 +71,7 @@
</treecolgroup>
<treechildren flex="1" id="entrieslist"/>
</tree>
<spring style="height: 7px;"/>
<spacer style="height: 7px;"/>
<text class="label" id="synonymtext" value2="&treehead.synonyms.label;" value3="&treehead.synonymsoff.label;" value4="&treehead.synonyms1.label;"/>
<tree multiple="true" id="synonymtree" class="inset"
style="height: 113px;" orient="vertical" onclick="SynonymSelected();">
@ -81,26 +81,26 @@
<treechildren flex="1" id="synonymslist"/>
</tree>
</vbox>
<spring style="width: 7px;"/>
<spacer style="width: 7px;"/>
<vbox>
<spring style="height: 15px;"/>
<spacer style="height: 15px;"/>
<button id="removeEntry" class="dialog push" disabled="true" label="&button.remove.label;" oncommand="DeleteEntry();"/>
<button id="addEntry" class="dialog push" disabled="false" label="&button.addentry.label;" oncommand="AddEntry();"/>
<spring style="height: 93px;"/>
<spacer style="height: 93px;"/>
<button id="removeSynonym" class="dialog push" disabled="true" label="&button.remove.label;" oncommand="DeleteSynonym();"/>
<button id="addSynonym" class="dialog push" disabled="false" label="&button.addsynonym.label;" oncommand="AddSynonym();"/>
</vbox>
<spring style="width: 7px;"/>
<spacer style="width: 7px;"/>
</hbox>
</vbox>
<separator orient="horizontal" class="groove"/>
<!-- from dialogOverlay.xul -->
<spring style="height: 5px;"/>
<spacer style="height: 5px;"/>
<hbox>
<spring flex="100%"/>
<spacer flex="100%"/>
<hbox id="okCancelButtons"/>
</hbox>
<spring style="height: 5px;"/>
<spacer style="height: 5px;"/>
</window>

Просмотреть файл

@ -94,7 +94,7 @@
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<spring style="width: 5px;"/>
<spacer style="width: 5px;"/>
<text value="&miscLicenseState.label;" />
<menulist id="license.state" editable="true" autoSelectMenuitem="false" flex="30" width="0"
onchange="Append(this)">

Просмотреть файл

@ -49,7 +49,6 @@
var row = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "row");
var text1 = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "textbox");
var text2 = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "textbox");
var spring = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "spring");
var menuList = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menulist");
var menuPopup = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menupopup");
var menuItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem");

Просмотреть файл

@ -65,11 +65,11 @@
<iframe id="maintext" class="output-container" type="content" flex="1"/>
<!-- from dialogOverlay.xul -->
<spring style="height: 5px;"/>
<spacer style="height: 5px;"/>
<hbox>
<spring flex="100%"/>
<spacer flex="100%"/>
<button class="right dialog" id="ok" label="&ok;" default="true" oncommand="doOKButton();"/>
</hbox>
<spring style="height: 5px;"/>
<spacer style="height: 5px;"/>
</window>

Просмотреть файл

@ -94,7 +94,7 @@
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<spring style="width: 5px;"/>
<spacer style="width: 5px;"/>
<text value="&miscLicenseState.label;" />
<menulist id="license.state" editable="true" autoSelectMenuitem="false" flex="30" width="0"
onchange="Append(this)">

Просмотреть файл

@ -49,7 +49,6 @@
var row = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "row");
var text1 = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "textbox");
var text2 = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "textbox");
var spring = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "spring");
var menuList = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menulist");
var menuPopup = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menupopup");
var menuItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem");

Просмотреть файл

@ -40,11 +40,11 @@
<hbox>
<text value="&heading.label;"/>
<spring flex="100%"/>
<spacer flex="100%"/>
<button label="&viewdata.label;" oncommand="formShow();"/>
</hbox>
<spring style="height: 20px;"/>
<spacer style="height: 20px;"/>
<hbox class="tabpanel" autostretch="never" style="overflow: auto; height: 260px;">
<grid class="indent">
<columns>
@ -57,14 +57,14 @@
</grid>
</hbox>
<spring style="height: 20px;"/>
<spacer style="height: 20px;"/>
<hbox>
<checkbox id="checkbox" label="&bypass.label;"/>
<spring flex="100%"/>
<spacer flex="100%"/>
</hbox>
<spring style="height: 20px;"/>
<spacer style="height: 20px;"/>
<hbox id="okCancelButtons"/>
</window>

Просмотреть файл

@ -58,18 +58,18 @@ var Listener = {
]]></script>
<vbox flex="1">
<spring flex="1"/>
<spacer flex="1"/>
<text value="Enter a state code:"/>
<textbox id="statecode"/>
<text value="Statename:"/>
<text id="statename" value=" "/>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
<vbox>
<spring flex="1"/>
<spacer flex="1"/>
<button label="Call Async." onclick="callAsync()"/>
<button label="Call Sync." onclick="callSync()"/>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
</window>

Просмотреть файл

@ -39,24 +39,24 @@
<hbox style="margin-bottom: 1em;">
<html:input type="checkbox" id="dialog.newWindow"/>
<html:label for="dialog.newWindow">Open in new window</html:label>
<spring flex="100%"/>
<spacer flex="100%"/>
</hbox>
<hbox style="margin-bottom: 1em;">
<spring flex="100%"/>
<spacer flex="100%"/>
<html:label id = "labelPrompt">Strres Test: </html:label>
<html:label id = "testLabel">to be set!!</html:label>
<spring flex="100%"/>
<spacer flex="100%"/>
</hbox>
<spring flex="100%"/>
<spacer flex="100%"/>
<hbox>
<spring flex="100%"/>
<spacer flex="100%"/>
<button id="dialog.ok" label="ok" onclick="open()" align="left"/>
<button id="dialog.test" value="test" onclick="strresTest()" align="left"/>
<button id="dialog.cancel" label="cancel: ??" onclick="cancel()" align="left"/>
<spring flex="100%"/>
<spacer flex="100%"/>
</hbox>
</vbox>

Просмотреть файл

@ -263,7 +263,7 @@
<html:script src="bug12012.js" />
<spring flex="1"/>
<spacer flex="1"/>
<vbox> <!-- fill all horizontal space -->
<hbox flex="1" id="main"> <!-- fill all vertical space -->
@ -455,7 +455,7 @@
</hbox>
<hbox id="tabs">
<spring flex="1"/>
<spacer flex="1"/>
<html:table>
<html:tr id="tabsTR">
<html:td class="tab" onclick="if (this.className != 'tab disable') { divActive(0); ResetAddForm() }"> <!-- XXX need to reset due to bug 9136 -->
@ -472,8 +472,8 @@
</html:td>
</html:tr>
</html:table>
<spring flex="1"/>
<spacer flex="1"/>
</hbox> <!-- id="tabs" -->
</vbox>
<spring flex="1"/>
<spacer flex="1"/>
</window>

Просмотреть файл

@ -164,7 +164,7 @@ public:
void GetValue(nsIPresContext* aPresContext, const nsSize& a, const nsSize& b, char* value);
void GetValue(nsIPresContext* aPresContext, PRInt32 a, PRInt32 b, char* value);
void DrawSpring(nsIPresContext* aPresContext, nsIRenderingContext& aRenderingContext, PRBool aHorizontal, PRInt32 flex, nscoord x, nscoord y, nscoord size, nscoord springSize);
void DrawSpacer(nsIPresContext* aPresContext, nsIRenderingContext& aRenderingContext, PRBool aHorizontal, PRInt32 flex, nscoord x, nscoord y, nscoord size, nscoord spacerSize);
void DrawLine(nsIRenderingContext& aRenderingContext, PRBool aHorizontal, nscoord x1, nscoord y1, nscoord x2, nscoord y2);
void FillRect(nsIRenderingContext& aRenderingContext, PRBool aHorizontal, nscoord x, nscoord y, nscoord width, nscoord height);
@ -1693,7 +1693,7 @@ nsBoxFrame::PaintChildren(nsIPresContext* aPresContext,
}
PRBool isHorizontal = IsHorizontal();
nscoord x, y, borderSize, springSize;
nscoord x, y, borderSize, spacerSize;
nsRect cr(0,0,0,0);
kid->GetBounds(cr);
@ -1706,12 +1706,12 @@ nsBoxFrame::PaintChildren(nsIPresContext* aPresContext,
cr.y = inner.y;
x = cr.x;
y = cr.y + onePixel;
springSize = debugBorder.top - onePixel*4;
spacerSize = debugBorder.top - onePixel*4;
} else {
cr.x = inner.x;
x = cr.y;
y = cr.x + onePixel;
springSize = debugBorder.left - onePixel*4;
spacerSize = debugBorder.left - onePixel*4;
}
nsBoxLayoutState state(aPresContext);
@ -1730,7 +1730,7 @@ nsBoxFrame::PaintChildren(nsIPresContext* aPresContext,
else
borderSize = cr.height;
mInner->DrawSpring(aPresContext, aRenderingContext, isHorizontal, flex, x, y, borderSize, springSize);
mInner->DrawSpacer(aPresContext, aRenderingContext, isHorizontal, flex, x, y, borderSize, spacerSize);
}
kid->GetNextBox(&kid);
@ -2126,8 +2126,8 @@ nsBoxFrameInner::PaintDebug(nsIBox* aBox,
aRenderingContext.DrawRect(dirtyr);
}
// paint the springs.
nscoord x, y, borderSize, springSize;
// paint the spacers.
nscoord x, y, borderSize, spacerSize;
aRenderingContext.SetColor(NS_RGB(255,255,255));
@ -2136,12 +2136,12 @@ nsBoxFrameInner::PaintDebug(nsIBox* aBox,
x = inner.x;
y = inner.y + onePixel;
x += debugBorder.left;
springSize = debugBorder.top - onePixel*4;
spacerSize = debugBorder.top - onePixel*4;
} else {
x = inner.y;
y = inner.x + onePixel;
x += debugBorder.top;
springSize = debugBorder.left - onePixel*4;
spacerSize = debugBorder.left - onePixel*4;
}
nsIBox* box = nsnull;
@ -2165,7 +2165,7 @@ nsBoxFrameInner::PaintDebug(nsIBox* aBox,
nscoord flex = 0;
box->GetFlex(state, flex);
DrawSpring(aPresContext, aRenderingContext, isHorizontal, flex, x, y, borderSize, springSize);
DrawSpacer(aPresContext, aRenderingContext, isHorizontal, flex, x, y, borderSize, spacerSize);
x += borderSize;
}
box->GetNextBox(&box);
@ -2194,7 +2194,7 @@ nsBoxFrameInner::FillRect(nsIRenderingContext& aRenderingContext, PRBool aHorizo
}
void
nsBoxFrameInner::DrawSpring(nsIPresContext* aPresContext, nsIRenderingContext& aRenderingContext, PRBool aHorizontal, PRInt32 flex, nscoord x, nscoord y, nscoord size, nscoord springSize)
nsBoxFrameInner::DrawSpacer(nsIPresContext* aPresContext, nsIRenderingContext& aRenderingContext, PRBool aHorizontal, PRInt32 flex, nscoord x, nscoord y, nscoord size, nscoord spacerSize)
{
float p2t;
aPresContext->GetScaledPixelsToTwips(&p2t);
@ -2205,10 +2205,10 @@ nsBoxFrameInner::DrawSpring(nsIPresContext* aPresContext, nsIRenderingContext& a
int center = 0;
int offset = 0;
int coilSize = COIL_SIZE*onePixel;
int halfSpring = springSize/2;
int halfSpacer = spacerSize/2;
distance = size;
center = y + halfSpring;
center = y + halfSpacer;
offset = x;
int coils = distance/coilSize;
@ -2216,21 +2216,21 @@ nsBoxFrameInner::DrawSpring(nsIPresContext* aPresContext, nsIRenderingContext& a
int halfCoilSize = coilSize/2;
if (flex == 0) {
DrawLine(aRenderingContext, aHorizontal, x,y + springSize/2, x + size, y + springSize/2);
DrawLine(aRenderingContext, aHorizontal, x,y + spacerSize/2, x + size, y + spacerSize/2);
} else {
for (int i=0; i < coils; i++)
{
DrawLine(aRenderingContext, aHorizontal, offset, center+halfSpring, offset+halfCoilSize, center-halfSpring);
DrawLine(aRenderingContext, aHorizontal, offset+halfCoilSize, center-halfSpring, offset+coilSize, center+halfSpring);
DrawLine(aRenderingContext, aHorizontal, offset, center+halfSpacer, offset+halfCoilSize, center-halfSpacer);
DrawLine(aRenderingContext, aHorizontal, offset+halfCoilSize, center-halfSpacer, offset+coilSize, center+halfSpacer);
offset += coilSize;
}
}
FillRect(aRenderingContext, aHorizontal, x + size - springSize/2, y, springSize/2, springSize);
FillRect(aRenderingContext, aHorizontal, x, y, springSize/2, springSize);
FillRect(aRenderingContext, aHorizontal, x + size - spacerSize/2, y, spacerSize/2, spacerSize);
FillRect(aRenderingContext, aHorizontal, x, y, spacerSize/2, spacerSize);
//DrawKnob(aPresContext, aRenderingContext, x + size - springSize, y, springSize);
//DrawKnob(aPresContext, aRenderingContext, x + size - spacerSize, y, spacerSize);
}
void
@ -2356,7 +2356,7 @@ nsBoxFrameInner::DisplayDebugInfoFor(nsIBox* aBox,
nsIFrame* childFrame = nsnull;
child->GetFrame(&childFrame);
// if we are not in the child. But in the spring above the child.
// if we are not in the child. But in the spacer above the child.
if ((isHorizontal && x >= r.x && x < r.x + r.width) ||
(!isHorizontal && y >= r.y && y < r.y + r.height)) {
aCursor = NS_STYLE_CURSOR_POINTER;

Просмотреть файл

@ -782,7 +782,7 @@ nsBoxToBlockAdaptor::Reflow(nsBoxLayoutState& aState,
}
}
// ok now reflow the child into the springs calculated space
// ok now reflow the child into the spacers calculated space
if (needsReflow) {
nsMargin border(0,0,0,0);

Просмотреть файл

@ -58,11 +58,9 @@
#include "nsIServiceManager.h"
#include "nsHTMLContainerFrame.h"
#include "nsINodeInfo.h"
#include "nsIAnonymousContent.h"
#include "nsGUIEvent.h"
#include "nsContentCID.h"
static NS_DEFINE_IID(kAnonymousElementCID, NS_ANONYMOUSCONTENT_CID);
const PRInt32 kMaxZ = 0x7fffffff; //XXX: Shouldn't there be a define somewhere for MaxInt for PRInt32
static NS_DEFINE_IID(kLookAndFeelCID, NS_LOOKANDFEEL_CID);
@ -262,88 +260,9 @@ nsSplitterFrame::~nsSplitterFrame()
// QueryInterface
//
NS_INTERFACE_MAP_BEGIN(nsSplitterFrame)
NS_INTERFACE_MAP_ENTRY(nsIAnonymousContentCreator)
NS_INTERFACE_MAP_END_INHERITING(nsBoxFrame)
static nsresult CreateAnonymousNode(nsIContent* aParent, nsIAtom* aTag, PRInt32 aNameSpaceId, nsIContent **aNewNode)
{
NS_ENSURE_ARG_POINTER(aParent);
NS_ENSURE_ARG_POINTER(aNewNode);
*aNewNode = nsnull;
nsresult rv;
nsCOMPtr<nsIContent> content(do_CreateInstance(kAnonymousElementCID,&rv));
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsIDocument> doc;
rv = aParent->GetDocument(*getter_AddRefs(doc));
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsINodeInfoManager> nodeInfoManager;
rv = doc->GetNodeInfoManager(*getter_AddRefs(nodeInfoManager));
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsINodeInfo> nodeInfo;
rv = nodeInfoManager->GetNodeInfo(aTag, nsnull, aNameSpaceId,
*getter_AddRefs(nodeInfo));
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsIAnonymousContent> anon(do_QueryInterface(content,&rv));
if (NS_FAILED(rv))
return rv;
rv = anon->Init(nodeInfo);
if (NS_FAILED(rv))
return rv;
*aNewNode = content.get();
NS_ADDREF(*aNewNode);
return NS_OK;
}
/**
* Anonymous interface
*/
NS_IMETHODIMP
nsSplitterFrame::CreateAnonymousContent(nsIPresContext* aPresContext,
nsISupportsArray& aAnonymousChildren)
{
// if not content the create some anonymous content
PRInt32 count = 0;
mContent->ChildCount(count);
// create a grippy if we have no children and teh collapse attribute is before or after.
if (count == 0)
{
nsSplitterFrameInner::CollapseDirection d = mInner->GetCollapseDirection();
if (d != nsSplitterFrameInner::None)
{
// create a spring
nsCOMPtr<nsIContent> content;
CreateAnonymousNode(mContent, nsXULAtoms::spring, nsXULAtoms::nameSpaceID, getter_AddRefs(content));
content->SetAttr(kNameSpaceID_None, nsXULAtoms::flex, NS_ConvertASCIItoUCS2("100%"), PR_FALSE);
aAnonymousChildren.AppendElement(content);
// a grippy
CreateAnonymousNode(mContent, nsXULAtoms::grippy, nsXULAtoms::nameSpaceID, getter_AddRefs(content));
aAnonymousChildren.AppendElement(content);
// create a spring
CreateAnonymousNode(mContent, nsXULAtoms::spring, nsXULAtoms::nameSpaceID, getter_AddRefs(content));
content->SetAttr(kNameSpaceID_None, nsXULAtoms::flex, NS_ConvertASCIItoUCS2("100%"), PR_FALSE);
aAnonymousChildren.AppendElement(content);
}
}
return NS_OK;
}
NS_IMETHODIMP
nsSplitterFrame::GetCursor(nsIPresContext* aPresContext,
nsPoint& aPoint,
@ -1345,7 +1264,7 @@ nsSplitterFrameInner::ResizeChildTo(nsIPresContext* aPresContext,
void
nsSplitterFrameInner::MoveSplitterBy(nsIPresContext* aPresContext, nscoord aDiff)
{
const nsRect& r = mOuter->mRect;
const nsRect& r = mOuter->mRect;
nsRect vr;
nsCOMPtr<nsIViewManager> vm;
nsIView *v;

Просмотреть файл

@ -29,14 +29,13 @@
#include "nsBoxFrame.h"
#include "nsIAnonymousContentCreator.h"
class nsISupportsArray;
class nsSplitterFrameInner;
nsresult NS_NewSplitterFrame(nsIPresShell* aPresShell, nsIFrame** aResult) ;
class nsSplitterFrame : public nsBoxFrame, public nsIAnonymousContentCreator
class nsSplitterFrame : public nsBoxFrame
{
public:
nsSplitterFrame(nsIPresShell* aPresShell);
@ -57,30 +56,23 @@ public:
PRInt32 aModType,
PRInt32 aHint);
NS_IMETHOD Init(nsIPresContext* aPresContext,
nsIContent* aContent,
nsIFrame* aParent,
nsIStyleContext* aContext,
nsIFrame* aPrevInFlow);
NS_IMETHOD Init(nsIPresContext* aPresContext,
nsIContent* aContent,
nsIFrame* aParent,
nsIStyleContext* aContext,
nsIFrame* aPrevInFlow);
NS_IMETHOD GetCursor(nsIPresContext* aPresContext,
nsPoint& aPoint,
PRInt32& aCursor);
nsPoint& aPoint,
PRInt32& aCursor);
NS_IMETHOD DoLayout(nsBoxLayoutState& aBoxLayoutState);
// nsIAnonymousContentCreator
NS_IMETHOD CreateAnonymousContent(nsIPresContext* aPresContext,
nsISupportsArray& aAnonymousItems);
NS_IMETHOD CreateFrameFor(nsIPresContext* aPresContext,
nsIContent * aContent,
nsIFrame** aFrame) { if (aFrame) *aFrame = nsnull; return NS_ERROR_FAILURE; }
NS_IMETHOD QueryInterface(REFNSIID aIID, void** aInstancePtr);
NS_IMETHOD_(nsrefcnt) AddRef(void) { return NS_OK; }
NS_IMETHOD_(nsrefcnt) Release(void) { return NS_OK; }
NS_IMETHOD HandlePress(nsIPresContext* aPresContext,
NS_IMETHOD HandlePress(nsIPresContext* aPresContext,
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus);

Просмотреть файл

@ -1115,9 +1115,9 @@ nsSprocketLayout::ComputeChildSizes(nsIBox* aBox,
//nscoord onePixel = NSIntPixelsToTwips(1, p2t);
PRInt32 sizeRemaining = aGivenSize;
PRInt32 springConstantsRemaining = 0;
PRInt32 spacerConstantsRemaining = 0;
// ----- calculate the springs constants and the size remaining -----
// ----- calculate the spacers constants and the size remaining -----
if (!aComputedBoxSizes)
aComputedBoxSizes = new (aState) nsComputedBoxSize();
@ -1153,7 +1153,7 @@ nsSprocketLayout::ComputeChildSizes(nsIBox* aBox,
validCount++;
}
springConstantsRemaining += boxSizes->flex;
spacerConstantsRemaining += boxSizes->flex;
sizeRemaining -= boxSizes->pref;
}
@ -1184,7 +1184,7 @@ nsSprocketLayout::ComputeChildSizes(nsIBox* aBox,
while (boxSizes) {
// ignore collapsed springs
// ignore collapsed spacers
// if (!boxSizes->collapsed) {
@ -1200,19 +1200,19 @@ nsSprocketLayout::ComputeChildSizes(nsIBox* aBox,
// ----- look at our min and max limits make sure we aren't too small or too big -----
if (!computedBoxSizes->valid) {
PRInt32 newSize = pref + sizeRemaining*flex/springConstantsRemaining; //NSToCoordRound(float((sizeRemaining*flex)/springConstantsRemaining));
PRInt32 newSize = pref + sizeRemaining*flex/spacerConstantsRemaining; //NSToCoordRound(float((sizeRemaining*flex)/spacerConstantsRemaining));
if (newSize<=min) {
computedBoxSizes->size = min;
computedBoxSizes->valid = PR_TRUE;
springConstantsRemaining -= flex;
spacerConstantsRemaining -= flex;
sizeRemaining += pref;
sizeRemaining -= min;
limit = PR_TRUE;
} else if (newSize>=max) {
computedBoxSizes->size = max;
computedBoxSizes->valid = PR_TRUE;
springConstantsRemaining -= flex;
spacerConstantsRemaining -= flex;
sizeRemaining += pref;
sizeRemaining -= max;
limit = PR_TRUE;
@ -1226,14 +1226,14 @@ nsSprocketLayout::ComputeChildSizes(nsIBox* aBox,
}
// ---- once we have removed and min and max issues just stretch us out in the remaining space
// ---- or shrink us. Depends on the size remaining and the spring constants
// ---- or shrink us. Depends on the size remaining and the spacer constants
aGivenSize = 0;
boxSizes = aBoxSizes;
computedBoxSizes = aComputedBoxSizes;
while (boxSizes) {
// ignore collapsed springs
// ignore collapsed spacers
// if (!(boxSizes && boxSizes->collapsed)) {
nscoord pref = 0;
@ -1242,7 +1242,7 @@ nsSprocketLayout::ComputeChildSizes(nsIBox* aBox,
flex = boxSizes->flex;
if (!computedBoxSizes->valid) {
computedBoxSizes->size = pref + flex*sizeRemaining/springConstantsRemaining; //NSToCoordFloor(float((flex*sizeRemaining)/springConstantsRemaining));
computedBoxSizes->size = pref + flex*sizeRemaining/spacerConstantsRemaining; //NSToCoordFloor(float((flex*sizeRemaining)/spacerConstantsRemaining));
computedBoxSizes->valid = PR_TRUE;
}

Просмотреть файл

@ -26,7 +26,7 @@
<html>
This outliner contains 5,000,000 rows. Can you believe it?
</html>
<spring style="height: 16px"/>
<spacer style="height: 16px"/>
<outliner id="out" flex="1">
<outlinercol id="Col1" label="Col1" flex="1"/>

Просмотреть файл

@ -39,13 +39,13 @@ Rights Reserved.
<vbox style="width:36em; min-height:12em">
<spring flex="1"/>
<spacer flex="1"/>
<text for="name" style="margin-bottom:.3em" value="&name.label;"/>
<textbox tabindex="0" id="name" style="width: 100%"/>
<spring flex="1"/>
<spacer flex="1"/>
<hbox id="okCancelButtons"/>

Просмотреть файл

@ -51,28 +51,28 @@ Rights Reserved.
<vbox style="width:100%">
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="FirstName" value="&FirstName.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="FirstName" flex="1" oninput="top.GenerateDisplayName()"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="LastName" value="&LastName.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="LastName" flex="1" oninput="top.GenerateDisplayName()"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="DisplayName" value="&DisplayName.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="DisplayName" flex="1" oninput="top.DisplayNameChanged()"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="NickName" value="&NickName.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="NickName" flex="1"/>
@ -86,14 +86,14 @@ Rights Reserved.
<vbox style="width:100%">
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="PrimaryEmail" value="&PrimaryEmail.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="PrimaryEmail" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="SecondEmail" value="&SecondEmail.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="SecondEmail" flex="1"/>
@ -119,35 +119,35 @@ Rights Reserved.
<vbox style="width:100%">
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="WorkPhone" value="&WorkPhone.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="WorkPhone" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="HomePhone" value="&HomePhone.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="HomePhone" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="FaxNumber" value="&FaxNumber.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="FaxNumber" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="PagerNumber" value="&PagerNumber.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="PagerNumber" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="CellularNumber" value="&CellularNumber.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="CellularNumber" flex="1"/>
@ -166,45 +166,45 @@ Rights Reserved.
<vbox style="width:100%">
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="HomeAddress" value="&HomeAddress.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="HomeAddress" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="HomeAddress2" value="&HomeAddress2.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="HomeAddress2" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="HomeCity" value="&HomeCity.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="HomeCity" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="HomeState" value="&HomeState.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="HomeState" flex="1"/>
<spring class="stateZipSpacer"/>
<spacer class="stateZipSpacer"/>
<text for="HomeZipCode" value="&HomeZipCode.label;" class="CardEditLabel"/>
<textbox id="HomeZipCode" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="HomeCountry" value="&HomeCountry.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="HomeCountry" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="WebPage2" value="&HomeWebPage.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="WebPage2" flex="1"/>
@ -219,66 +219,66 @@ Rights Reserved.
<vbox style="width:100%">
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="JobTitle" value="&JobTitle.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="JobTitle" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="Department" value="&Department.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="Department" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="Company" value="&Company.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="Company" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="WorkAddress" value="&WorkAddress.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="WorkAddress" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="WorkAddress2" value="&WorkAddress2.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="WorkAddress2" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="WorkCity" value="&WorkCity.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="WorkCity" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="WorkState" value="&WorkState.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="WorkState" flex="1"/>
<spring class="stateZipSpacer"/>
<spacer class="stateZipSpacer"/>
<text for="WorkZipCode" value="&WorkZipCode.label;" class="CardEditLabel"/>
<textbox id="WorkZipCode" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="WorkCountry" value="&WorkCountry.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="WorkCountry" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="WebPage1" value="&WorkWebPage.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="WebPage1" flex="1"/>

Просмотреть файл

@ -65,7 +65,7 @@ Rights Reserved.
</vbox>
</vbox>
<spring style="width:20px"/>
<spacer style="width:20px"/>
<vbox flex="1" style="width:200px">
<vbox id="cvbPhone" class="cardViewGroup">

Просмотреть файл

@ -41,7 +41,7 @@ Rights Reserved.
<vbox id="editlist"/>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<hbox id="okCancelButtons"/>

Просмотреть файл

@ -36,21 +36,21 @@ Rights Reserved.
<vbox style="width:100%">
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="ListName" value="&ListName.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="ListName" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="ListNickName" value="&ListNickName.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="ListNickName" flex="1"/>
</hbox>
</hbox>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<text for="ListDescription" value="&ListDescription.label;" class="CardEditLabel"/>
<hbox class="CardEditWidth">
<textbox id="ListDescription" flex="1"/>
@ -58,10 +58,10 @@ Rights Reserved.
</hbox>
</vbox>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<text value="&AddressTitle.label;"/>
<spring style="height:0.1em"/>
<spacer style="height:0.1em"/>
<hbox flex="100%">
<vbox flex="80%">
<tree id="addressListTree" class="inset"

Просмотреть файл

@ -55,11 +55,11 @@ Rights Reserved.
</menulist>
</hbox>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<vbox id="editlist"/>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<hbox id="okCancelButtons"/>

Просмотреть файл

@ -56,7 +56,7 @@ Rights Reserved.
</hbox>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<vbox id="editcard"/>

Просмотреть файл

@ -71,13 +71,13 @@ Rights Reserved.
<!-- Box that holds (to,cc,bcc buttons) -->
<hbox id="addToBucketButtonBox">
<spring flex="50%"/>
<spacer flex="50%"/>
<button id="toButton" label="&toButton.label;" class="dialog" oncommand="SelectAddressToButton()"/>
<spring class="middle-button-spring"/>
<spacer class="middle-button-spacer"/>
<button id="ccButton" label="&ccButton.label;" class="dialog" oncommand="SelectAddressCcButton()"/>
<spring class="middle-button-spring"/>
<spacer class="middle-button-spacer"/>
<button id="bccButton" label="&bccButton.label;" class="dialog" oncommand="SelectAddressBccButton()"/>
<spring flex="50%"/>
<spacer flex="50%"/>
</hbox>
</vbox>
@ -99,16 +99,16 @@ Rights Reserved.
<!-- Box with buttons on right edge of window -->
<vbox id="rightColumnButtonBox">
<vbox flex="50%">
<spring class="third-column-spring"/>
<spacer class="third-column-spacer"/>
<button id="new" label="&newButton.label;" class="dialog" tooltip="aTooltip" tooltiptext="&addressPickerNewButton.tooltip;" oncommand="AbNewCard()"/>
<spring class="third-column-spring"/>
<spacer class="third-column-spacer"/>
<button id="edit" label="&editButton.label;" class="dialog" tooltip="aTooltip" tooltiptext="&addressPickerEditButton.tooltip;" oncommand="AbEditCard()"/>
<spring flex="100%"/>
<spacer flex="100%"/>
</vbox>
<vbox flex="50%">
<spring flex="50%"/>
<spacer flex="50%"/>
<button id="remove" label="&removeButton.label;" class="dialog" oncommand="RemoveSelectedFromBucket()"/>
<spring flex="50%"/>
<spacer flex="50%"/>
</vbox>
</vbox>
</hbox>

Просмотреть файл

@ -213,7 +213,7 @@ Rights Reserved.
<menu id="tasksMenu"/>
<menu id="menu_Help"/>
<spring flex="100%"/>
<spacer flex="100%"/>
</menubar>
<!-- toolbar -->
@ -227,10 +227,10 @@ Rights Reserved.
<button class="button-toolbar-2 top" orient="vertical" id="button-delete" observes="button_delete" label="&deleteButton.label;" tooltip="aTooltip" tooltiptext="&deleteButton.tooltip;" oncommand="goDoCommand('button_delete');"/>
<vbox flex="100%">
<spring flex="1"/>
<spacer flex="1"/>
<!--html id="searchlabel">&showNames.label;</html>
<textbox id="searchtext" type="text" align="bottom"/>
<spring flex="1"/-->
<spacer flex="1"/-->
</vbox>
<!--button id="button_stop" class="other28" align="top" label="&stopButton.label;" tooltip="aTooltip" tooltiptext="&stopButton.tooltip;" disabled="true" oncommand="AbStop()"/>

Просмотреть файл

@ -67,9 +67,9 @@
</rows>
</grid>
<spring class="spacer"/>
<spacer class="spacer"/>
<separator class="groove"/>
<spring class="spacer"/>
<spacer class="spacer"/>
<hbox id="okCancelButtonsRight"/>

Просмотреть файл

@ -88,10 +88,10 @@
prefstring="mail.identity.%identitykey%.compose_html"/>
</hbox>
<spring flex="1"/>
<spacer flex="1"/>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<button oncommand="onAdvanced();" label="&advancedButton.label;"
wsm_persist="true" id="identity.advancedbutton"
pref="true" preftype="bool" prefattribute="disabled"

Просмотреть файл

@ -86,7 +86,7 @@ Contributors:
</rows>
</grid>
<spring class="spacer"/>
<spacer class="spacer"/>
<groupbox>
<caption label="&serverSettings.label;"/>
@ -146,7 +146,7 @@ Contributors:
<menuitem value="2" label="&modelDeleteImmediately.label;"/>
</menupopup>
</menulist>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
<separator class="thin"/>
@ -161,7 +161,7 @@ Contributors:
<hbox iscontrolcontainer="true" flex="1">
<hbox flex="1">
<spring flex="1"/>
<spacer flex="1"/>
<button label="&advancedButton.label;"
oncommand="openImapAdvanced(event);"
wsm_persist="true" id="server.advancedbutton"
@ -222,7 +222,7 @@ Contributors:
</vbox>
</vbox>
</groupbox>
<spring flex="100%"/>
<spacer flex="100%"/>
<vbox>
<text class="label" value="&localPath.label;" for="server.localPath"/>
<textbox wsm_persist="true" id="server.localPath"

Просмотреть файл

@ -31,7 +31,7 @@
</row>
</rows>
</grid>
<spring flex="1"/>
<spacer flex="1"/>
<vbox>
<text value="&localPath.label;"/>
<textbox wsm_persist="true" size="60" id="server.localPath" datatype="nsIFileSpec"

Просмотреть файл

@ -29,7 +29,7 @@
<separator/>
<hbox>
<spring flex="1"/>
<spacer flex="1"/>
<button label="&advanced.label;" oncommand="onAdvanced(event);"
wsm_persist="true" id="smtp.advancedbutton"
pref="true" preftype="bool" prefattribute="disabled"

Просмотреть файл

@ -14,7 +14,7 @@
<vbox style="width:100%">
<hbox style="width:100%">
<spring flex="1"/>
<spacer flex="1"/>
<text class="label" value="&notInToCc.label;" accesskey="&notInToCc.accesskey;" for="NotInToCc"/>
<menulist id="NotInToCc" pref="true" preftype="int" prefstring="mail.mdn.report.not_in_to_cc"
prefattribute="value">
@ -27,7 +27,7 @@
</hbox>
<hbox style="width:100%">
<spring flex="1"/>
<spacer flex="1"/>
<text class="label" value="&outside.label;" accesskey="&outside.accesskey;" for="OutsideDomain"/>
<menulist id="OutsideDomain" pref="true" preftype="int" prefstring="mail.mdn.report.outside_domain"
prefattribute="value">
@ -40,7 +40,7 @@
</hbox>
<hbox style="width:100%">
<spring flex="1"/>
<spacer flex="1"/>
<text class="label" value="&other.label;" accesskey="&other.accesskey;" for="Other"/>
<menulist id="Other" pref="true" preftype="int" prefstring="mail.mdn.report.other"
prefattribute="value">
@ -53,7 +53,7 @@
</hbox>
</vbox>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<hbox id="okCancelButtons"/>

Просмотреть файл

@ -49,7 +49,7 @@ Contributor(s):
<hbox autostretch="never">
<text class="label" value="&selectWindowLayout.label;"/>
<spring flex="1"/>
<spacer flex="1"/>
<radiogroup id="mailPaneConfig" pref="true" preftype="int" prefstring="mail.pane_config"
prefattribute="value">
<radio group="mailPaneConfig" class="iconic" value="0" id="classic"/>

Просмотреть файл

@ -1218,7 +1218,7 @@ Rights Reserved.
<menu id="tasksMenu"/>
<menu id="menu_Help"/>
<spring flex="100%"/>
<spacer flex="100%"/>
</menubar>
<toolbox id="mailToolbarToolbox">
@ -1341,7 +1341,7 @@ Rights Reserved.
</menupopup>
</menubutton>
<button class="button-toolbar-2 top" id="button-stop" label="&stopButton.label;" tooltip="aTooltip" tooltiptext="&stopButton.tooltip;" oncommand="MsgStop();"/>
<spring flex="1"/>
<spacer flex="1"/>
<hbox id="throbber-box" autostretch="never">
<button id="navigator-throbber" oncommand='goClickThrobber("messenger.throbber.url")' tooltip="aTooltip" tooltiptext="&throbber.tooltip;"/>
</hbox>

Просмотреть файл

@ -92,7 +92,7 @@ Rights Reserved.
<hbox class="headerValueBox" align="center">
<image id="toggleHeaderView" class="expandHeaderViewButton"
onclick="ToggleHeaderView();"/>
<spring flex="1"/>
<spacer flex="1"/>
<text class="headerdisplayname" value="&subjectField.label;"/>
</hbox>
<html id="expandedsubjectValue" class="headerValue subjectvalue" flex="1">*</html>
@ -173,9 +173,9 @@ Rights Reserved.
</vbox>
<vbox id="editMessageBox" class="header-part1" collapsed="true">
<spring class="buttonSpacer"/>
<spacer class="buttonSpacer"/>
<button id="editMessageButton" label="&editMessage.label;" orient="right" onclick="MsgComposeDraftMessage()"/>
<spring class="buttonSpacer"/>
<spacer class="buttonSpacer"/>
</vbox>
<hbox id="expandedAttachmentBox" class="header-part1">

Просмотреть файл

@ -44,7 +44,7 @@
<vbox>
<spring flex="1"/>
<spacer flex="1"/>
<text value="&name.label;" class="label" accesskey="&name.accesskey;" for="name"/>
<textbox tabindex="0" id="name" oninput="doEnabling();"/>
@ -55,7 +55,7 @@
<hbox>
<menu id="msgNewFolderPicker" oncommand="doEnabling();" crop="right" flex="1"/>
<spring flex="1"/>
<spacer flex="1"/>
</hbox>
<vbox hidden="true" id="newFolderTypeBox">
@ -70,12 +70,12 @@
<radiogroup id="folderGroup">
<radio group="folderGroup" oncommand="onFoldersOnly();" label="&foldersOnly.label;"/>
<radio group="folderGroup" oncommand="onMessagesOnly();" label="&messagesOnly.label;" checked="true"/>
<spring flex="100%"/>
<spacer flex="100%"/>
</radiogroup>
</vbox>
<spring flex="1"/>
<spacer flex="1"/>
<separator/>

Просмотреть файл

@ -44,12 +44,12 @@
<vbox>
<spring flex="100%"/>
<spacer flex="100%"/>
<text value="&rename.label;" class="label" accesskey="&rename.accesskey;" for="name"/>
<textbox tabindex="0" id="name" oninput="doEnabling();"/>
<spring flex="100%"/>
<spacer flex="100%"/>
<hbox id="okCancelButtons"/>

Просмотреть файл

@ -87,11 +87,11 @@ Rights Reserved.
</row>
</rows>
</grid>
<spring/>
<spacer/>
</row>
<row>
<separator class="thin"/>
<spring/>
<spacer/>
</row>
<row flex="1">
<deck id="subscribedeck" index="0">
@ -148,7 +148,7 @@ Rights Reserved.
<button id="unsubscribe" class="dialog" label="&unsubscribeButton.label;" oncommand="SetSubscribeState(false)"/>
<button id="refresh" class="dialog" label="&refreshButton.label;" oncommand="Refresh()"/>
<button id="stop" class="dialog" label="&stopButton.label;" oncommand="Stop()"/>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
</row>
<row>

Просмотреть файл

@ -57,7 +57,7 @@ Contributor(s):
<hbox autostretch="never">
<text class="label" value="&filterName.label;"/>
<textbox flex="50%" id="filterName"/>
<spring flex="50%"/>
<spacer flex="50%"/>
</hbox>
<separator/>
@ -96,7 +96,7 @@ Contributor(s):
</menulist>
<text id="actionValueNone"/>
</deck>
<spring flex="100%"/>
<spacer flex="100%"/>
<button id="newFolderButton" label="&newFolderButton.label;"
oncommand="MsgNewFolder(SearchNewFolderOkCallback);"/>
</hbox>

Просмотреть файл

@ -125,10 +125,10 @@ Contributor(s): H
<button id="newButton" label="&newButton.label;" oncommand="onNewFilter();"/>
<button id="editButton" label="&editButton.label;" oncommand="onEditFilter();"/>
<button id="deleteButton" label="&deleteButton.label;" oncommand="onDeleteFilter();"/>
<spring flex="1"/>
<spacer flex="1"/>
<button id="reorderUpButton" label="&reorderUpButton.label;" oncommand="onUp(event);"/>
<button id="reorderDownButton" label="&reorderDownButton.label;" oncommand="onDown(event);"/>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
</row>
</rows>

Просмотреть файл

@ -77,7 +77,7 @@ Rights Reserved.
<hbox autostretch="never">
<text class="label" value="&searchHeading.label;"/>
<menulist id="searchableFolders" flex="2"/>
<spring flex="1"/>
<spacer flex="1"/>
<checkbox id="checkSearchSubFolders" label="&searchSubfolders.label;" checked="true"/>
</hbox>
<separator/>
@ -86,10 +86,10 @@ Rights Reserved.
<hbox flex="1">
<vbox id="searchTermListBox" flex="1"/>
<vbox>
<spring flex="1"/>
<spacer flex="1"/>
<button label="&searchButton.label;" id="search-button" oncommand="onSearchButton(event);" default="true"/>
<button label="&resetButton.label;" oncommand="onReset(event);"/>
<spring flex="1"/>
<spacer flex="1"/>
</vbox>
</hbox>
</groupbox>
@ -104,7 +104,7 @@ Rights Reserved.
</vbox>
<vbox>
<spring flex="1" />
<spacer flex="1" />
<button label="&openButton.label;" id="openButton" command="cmd_open" />
<menubutton id="fileMessageButton" label="&fileButton.label;"
observes="file_message_button"
@ -176,7 +176,7 @@ Rights Reserved.
</menubutton>
<button label="&deleteButton.label;" id="deleteButton" command="button_delete"/>
<spring flex="1" />
<spacer flex="1" />
</vbox>
</groupbox>
</vbox>

Просмотреть файл

@ -16,15 +16,15 @@
<keyset id="dialogKeys"/>
<spring style="height:0.5em" />
<spacer style="height:0.5em" />
<hbox>
<spring style="width:10px" />
<spacer style="width:10px" />
<text value="Web Page (URL):"/>
<textbox id="attachurl" align="bottom" style="min-width:200px; padding-bottom:0px" />
<spring style="width:10px" />
<spacer style="width:10px" />
</hbox>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<hbox id="okCancelButtons"/>
<spring style="height:0.5em" />
<spacer style="height:0.5em" />
</window>

Просмотреть файл

@ -20,13 +20,13 @@
<keyset id="dialogKeys"/>
<spring style="height:0.5em"/>
<spacer style="height:0.5em"/>
<hbox>
<spring style="width:10px"/>
<spacer style="width:10px"/>
<vbox id="askImageBox">
<image id="convertDefault" />
</vbox>
<spring style="width:10px"/>
<spacer style="width:10px"/>
<vbox flex="1">
<html>&recipient.label;</html>
<deck id="mailSendFormatExplanation">
@ -36,7 +36,7 @@
<vbox><html>&convertibleNo.label;</html></vbox>
</deck>
<html>&question.label;</html>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<radiogroup id="mailDefaultHTMLAction" orient="vertical" autostretch="never">
<hbox>
@ -55,10 +55,10 @@
</radiogroup>
</vbox>
<spring style="width:10px"/>
<spacer style="width:10px"/>
</hbox>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<hbox id="okCancelButtons"
button1Label="&send.label;"
button2Label="&cancel.label;"
@ -70,6 +70,6 @@
plainTextOnlyRecommendedLabel="&plainTextOnlyRecommended.label;"
htmlOnlyRecommendedLabel="&htmlOnlyRecommended.label;"
/>
<spring style="height:1em" />
<spacer style="height:1em" />
</window>

Просмотреть файл

@ -382,7 +382,7 @@
id="button-save" label="&saveButton.label;"
tooltip="aTooltip" tooltiptext="&saveButton.tooltip;"
command="cmd_saveDefault"/>
<spring flex="1"/>
<spacer flex="1"/>
<hbox id="throbber-box" autostretch="never">
<button id="navigator-throbber"
oncommand="goClickThrobber('compose.throbber.url')" tooltip="aTooltip" tooltiptext="&throbber.tooltip;">
@ -450,7 +450,7 @@
<menubutton id="AlignPopupButton"/>
<menubutton id="InsertPopupButton"/>
<menubutton id="smileButtonMenu" padwithspace="true"/>
<spring flex="1"/>
<spacer flex="1"/>
</toolbar>
</toolbox>

Просмотреть файл

@ -43,13 +43,13 @@ Rights Reserved.
<hbox>
<spring style="width:3em"/>
<spacer style="width:3em"/>
<!-- field list -->
<vbox>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<html:div id="fieldLabel">Ye old fields</html:div>
<spring style="height:.5em"/>
<spacer style="height:.5em"/>
<vbox style="border: 1px inset white">
<html:div style="width:10em; height:200px" flex="1">
@ -62,26 +62,26 @@ Rights Reserved.
</html:div>
</vbox>
<spring style="height:1.5em"/>
<spacer style="height:1.5em"/>
</vbox>
<spring style="width: 1em"/>
<spacer style="width: 1em"/>
<vbox style="height:270px">
<spring flex="50%"/>
<spacer flex="50%"/>
<button class="dialog push" onclick="OnAddExport()" label="&fieldMapExport.add;"/>
<button class="dialog push" onclick="OnAddAllExport()" label="&fieldMapExport.addAll;"/>
<spring flex="50%"/>
<spacer flex="50%"/>
</vbox>
<spring style="width:1em"/>
<spacer style="width:1em"/>
<!-- export list -->
<vbox>
<spring style="height:1em"/>
<spacer style="height:1em"/>
<html:div id="exportLabel">Export fields</html:div>
<spring style="height:.5em"/>
<spacer style="height:.5em"/>
<vbox style="border: 1px inset white">
<html:div style="width:10em; height:200px" flex="1">
@ -97,11 +97,11 @@ Rights Reserved.
</html:div>
</vbox>
<spring style="height:1.5em"/>
<spacer style="height:1.5em"/>
</vbox>
<spring style="width:3em"/>
<spacer style="width:3em"/>
</hbox>

Просмотреть файл

@ -60,21 +60,21 @@ Rights Reserved.
</tree>
</vbox>
<spring style="height: .5em"/>
<spacer style="height: .5em"/>
<hbox>
<spring flex="50%"/>
<spacer flex="50%"/>
<button class="dialog" id="previous" oncommand="OnPreviousRecord()" label="&fieldMapImport.previous;"/>
<spring style="width: 2em"/>
<spacer style="width: 2em"/>
<text value="&fieldMapImport.recordNumber;"/>
<spring style="width: 1em"/>
<spacer style="width: 1em"/>
<text id="recordNumber"/>
<spring style="width: 2em"/>
<spacer style="width: 2em"/>
<button class="dialog" id="next" oncommand="OnNextRecord()" label="&fieldMapImport.next;"/>
<spring flex="50%"/>
<spacer flex="50%"/>
</hbox>
<spring style="height: 2em"/>
<spacer style="height: 2em"/>
<!-- OK & Cancel buttons -->
<hbox id="okCancelButtons"/>

Просмотреть файл

@ -70,7 +70,7 @@ Rights Reserved.
<html id="description" class="box-padded" flex="1"/>
</vbox>
<vbox class="wizard-box">
<spring flex="1"/>
<spacer flex="1"/>
<groupbox orient="vertical">
<caption id="progressTitle" label="&title.label;"/>
<text class="label indent" id="progressStatus" value="&processing.label;"/>
@ -106,7 +106,7 @@ Rights Reserved.
<separator class="groove"/>
<hbox class="box-padded">
<spring flex="1"/>
<spacer flex="1"/>
<button id="back" label="&back.label;" disabled="true"
oncommand="back();"/>
<button id="forward" label="&forward.label;" nextval="&forward.label;" finishedval="&finish.label;"

Просмотреть файл

@ -543,25 +543,25 @@ nsMimeXULEmitter::DumpSubjectFromDate()
UtilityWriteCRLF("<box name=\"header-splitter\" align=\"horizontal\" flex=\"1\" >");
UtilityWriteCRLF("<box name=\"header-part1\" align=\"vertical\" flex=\"1\">");
UtilityWriteCRLF("<spring flex=\"2\"/>");
UtilityWriteCRLF("<spacer flex=\"2\"/>");
// This is the envelope information
OutputGenericHeader(HEADER_SUBJECT);
OutputGenericHeader(HEADER_FROM);
OutputGenericHeader(HEADER_DATE);
UtilityWriteCRLF("<spring flex=\"2\"/>");
UtilityWriteCRLF("<spacer flex=\"2\"/>");
UtilityWriteCRLF("</box>");
UtilityWriteCRLF("<box name=\"header-attachment\" align=\"horizontal\" flex=\"1\">");
UtilityWriteCRLF("<spring flex=\"1\"/>");
UtilityWriteCRLF("<spacer flex=\"1\"/>");
// Now the addbook and attachment icons need to be displayed
DumpAddBookIcon(GetHeaderValue(HEADER_FROM, mHeaderArray));
DumpAttachmentMenu();
UtilityWriteCRLF("<spring flex=\"1\"/>");
UtilityWriteCRLF("<spacer flex=\"1\"/>");
UtilityWriteCRLF("</box>");
UtilityWriteCRLF("</box>");

Просмотреть файл

@ -30,7 +30,6 @@ MODULE = necko
LIBRARY_NAME = nkres_s
REQUIRES = xpcom \
string \
exthandler \
mimetype \
$(NULL)

Просмотреть файл

@ -40,19 +40,19 @@ Contributor(s):
<hbox flex="1">
<hbox>
<text id="outOfSpace" value="&errorText1.label;"/>
<spring flex="100%"/>
<spacer flex="100%"/>
<image id="info.icon" class="message-icon"/>
</hbox>
<separator orient="vertical" class="thin"/>
</hbox>
<spring flex="50%"/>
<spacer flex="50%"/>
<hbox id="errorTextBody">
<text value="&errorText2.label;"/>
</hbox>
<spring flex="50%"/>
<spacer flex="50%"/>
<separator class="thin"/>
<hbox class="selection" id="RetryNewCancelButtons">

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше