Bug 252468 Remove outdated autostretch attribute from the tree

patch by Simon Paquet <bugzilla@babylonsounds.com> r=neil rs=bz
This commit is contained in:
cbiesinger%web.de 2004-07-29 18:25:42 +00:00
parent cf45882e36
commit 3506522cc6
20 changed files with 32 additions and 42 deletions

View File

@ -87,13 +87,13 @@
for embedding -->
<toolbox>
<toolbar id="nav-bar">
<hbox id="nav-bar-inner" autostretch="never" flex="1" style="min-width: 0px;">
<hbox id="nav-bar-inner" align="center" flex="1" style="min-width: 0px;">
<button id="back-button" crop="right" onclick="BrowserBack()" label="&backButton.label;"/>
<button id="forward-button" crop="right" onclick="BrowserForward()" label="&forwardButton.label;"/>
<button id="reload-button" crop="right" onclick="BrowserReload()" label="&reloadButton.label;"/>
<button id="stop-button" crop="right" onclick="BrowserStop()" label="&stopButton.label;"/>
<hbox class="box-toolbar-group" flex="1">
<hbox autostretch="never" valign="middle" flex="1">
<hbox align="center" valign="middle" flex="1">
<textbox autocomplete="true" timeout="300"
searchSessionType="urlbar" id="urlbar"
onkeypress="if( event.keyCode == 13 ) { BrowserLoadURL(); }"/>

View File

@ -137,8 +137,7 @@
<vbox id="outer-box" flex="1">
<hbox id="inner-box" flex="9">
<vbox id="component-box" flex="1" width="50%">
<text id="component-label" value="Components..." crop="right"
autostretch="never"/>
<text id="component-label" value="Components..." crop="right"/>
<tree flex="1" id="component-tree" persist="height"
primary="true" onselect="onComponentSelect(event);"
@ -161,8 +160,7 @@
</splitter>
<vbox id="interface-box" flex="1" width="50%">
<text id="interface-label" value="Interfaces..." crop="right"
autostretch="never"/>
<text id="interface-label" value="Interfaces..." crop="right"/>
<tree flex="1" id="interface-tree" persist="height"
onclick="onInterfaceClick(event);" context="interfacePopup"

View File

@ -1106,8 +1106,7 @@
</menulist>
<checkbox id="muteVolumeCheckbox"
oncommand="MuteVolume(this)"
label="&muteVolume.label;"
autostretch="never"/>
label="&muteVolume.label;"/>
</hbox>
<separator class="groove"/>
<grid flex="1">

View File

@ -320,7 +320,6 @@
<splitter id="helpsidebar-splitter"
collapse="before"
persist="state hidden"
autostretch="never"
state="open">
<grippy/>
</splitter>

View File

@ -168,7 +168,7 @@ ColumnsDialog.prototype =
box._isColBox = true;
box._isAttrCol = true;
box.setAttribute("class", "column-selector");
box.setAttribute("autostretch", "never");
box.setAttribute("align", "center");
var text = document.createElementNS(kXULNSURI, "text");
text.setAttribute("value", "Attr");

View File

@ -5,7 +5,7 @@
<window id="insaneInsertion"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical" autostretch="never">
orient="vertical" align="start">
<html>
Below this text is a group of XUL widgets with the labels A-I. If
the insertion code is behaving correctly, then the widgets will all be in alphabetical

View File

@ -344,7 +344,7 @@
</row>
<hbox valign="middle" autostretch="never">
<hbox align="center">
<button label="collapse/uncollapse grid" flex="1" oncommand="collapseGrid()"/>
<button label="collapse/uncollapse element" flex="1" oncommand="collapseElement()"/>
</hbox>

View File

@ -135,7 +135,7 @@
<spacer flex="1"/>
</vbox>
<vbox autostretch="never">
<vbox>
<spacer flex="1"/>
<image style="padding: 5px" id="fromBuddyIcon"/>
<spacer flex="1"/>

View File

@ -700,7 +700,7 @@
<description class="CardViewText" id="cvCustom3"/>
<description class="CardViewText" id="cvCustom4"/>
<description class="CardViewText" id="cvNotes"/>
<hbox autostretch="never">
<hbox>
<image id="cvBuddyIcon"/>
</hbox>
</vbox>

View File

@ -105,7 +105,7 @@
<description class="CardViewText" id="cvCustom4"/>
<description class="CardViewText" id="cvNotes"/>
<hbox autostretch="never">
<hbox>
<image id="cvBuddyIcon"/>
</hbox>
</vbox>

View File

@ -272,35 +272,35 @@
<column flex="1"/>
</columns>
<rows>
<row autostretch="never" id="account.name">
<row align="center" id="account.name">
<label class="label" flex="1" id="account.name.label" value="&accnameLabel.label;"/>
<label class="label" id="account.name.text"/>
</row>
<row autostretch="never" id="identity.email">
<row align="center" id="identity.email">
<label class="label" flex="1" id="identity.email.label" value="&emailLabel.label;"/>
<label class="label" id="identity.email.text"/>
</row>
<row autostretch="never" id="server.username">
<row align="center" id="server.username">
<label class="label" flex="1" id="server.username.label" value="&usernameLabel.label;"/>
<label class="label" id="server.username.text"/>
</row>
<row autostretch="never" id="server.name">
<row align="center" id="server.name">
<label class="label" flex="1" id="server.name.label" value="&serverNamePrefix.label;"/>
<label class="label" id="server.name.text"/>
</row>
<row autostretch="never" id="server.type">
<row align="center" id="server.type">
<label class="label" flex="1" id="server.type.label" value="&serverTypePrefix.label;"/>
<label class="label" id="server.type.text"/>
</row>
<row autostretch="never" id="newsServer.name">
<row align="center" id="newsServer.name">
<label class="label" flex="1" id="newsServer.name.label" value="&newsServerNamePrefix.label;"/>
<label class="label" id="newsServer.name.text"/>
</row>
<row autostretch="never" id="smtpServer.username">
<row align="center" id="smtpServer.username">
<label class="label" flex="1" id="smtpServer.username.label" value="&usernameSmtpLabel.label;"/>
<label class="label" id="smtpServer.username.text"/>
</row>
<row autostretch="never" id="smtpServer.name">
<row align="center" id="smtpServer.name">
<label class="label" flex="1" id="smtpServer.name.label" value="&smtpServerNamePrefix.label;"/>
<label class="label" id="smtpServer.name.text"/>
</row>

View File

@ -83,7 +83,7 @@
<hbox align="center" class="indent">
<textbox readonly="true" flex="1" id="mailnewsSoundFileUrl" preftype="string"
prefstring="mail.biff.play_sound.url"/>
<hbox autostretch="never">
<hbox align="center">
<button id="browse" label="&browse.label;" filepickertitle="&browse.title;"
accesskey="&browse.accesskey;" oncommand="Browse()"/>
<button id="preview" label="&preview.label;"

View File

@ -152,7 +152,7 @@
<spacer flex="1"/>
</vbox>
<vbox autostretch="never">
<vbox>
<spacer flex="1"/>
<image style="padding: 5px" id="fromBuddyIcon"/>
<spacer flex="1"/>

View File

@ -51,7 +51,7 @@
]]>
</script>
<script type="application/x-javascript" src="chrome://messenger-mapi/content/pref-mailnewsOverlay.js"/>
<hbox autostretch="never" id="mapi">
<hbox align="center" id="mapi">
<checkbox id="mailnewsEnableMapi" label="&enableMapi.label;"
accesskey="&enableMapi.accesskey;"
oncommand="onEnableMapi();"

View File

@ -32,7 +32,7 @@ Rights Reserved.
<hbox id="alertBox" class="alertBox">
<hbox class="alertImageBox" align="center" valign="center">
<image id="alertImage" autostretch="never"/>
<image id="alertImage"/>
</hbox>
<vbox id="alertTextBox" class="alertTextBox">

View File

@ -373,7 +373,7 @@
</vbox>
<splitter id="helpsidebar-splitter" collapse="before"
persist="state hidden" autostretch="never" state="open">
persist="state hidden" state="open">
</splitter>
<vbox id="appcontent" flex="3">

View File

@ -49,7 +49,7 @@
<hbox id="alertBox" class="alertBox">
<hbox class="alertImageBox" align="center" valign="center">
<image id="alertImage" autostretch="never"/>
<image id="alertImage"/>
</hbox>
<vbox id="alertTextBox" class="alertTextBox">

View File

@ -72,10 +72,6 @@
<groupbox>
<caption label="&searchResults.label;"/>
<!-- XXX - unfortunately we can't have an autostretch never box here
because it causes the text not to wrap and the panel content
to go offscreen. We need to come up with a better solution
to allow wrapping and even focusrings - ben@netscape.com -->
<checkbox id="openSidebarPanel" label="&openSidebarSearchPanel.label;" accesskey="&openSidebarSearchPanel.accesskey;"
prefstring="browser.search.opensidebarsearchpanel"/>
</groupbox>

View File

@ -83,7 +83,6 @@
<hbox>
<spacer flex="1"/>
<button label="&defaultBrowserButton.label;"
autostretch="never"
disabled="true"/>
<spacer flex="1"/>
</hbox>
@ -93,7 +92,6 @@
<hbox>
<spacer flex="1"/>
<button label="&defaultBrowserButton.label;"
autostretch="never"
disabled="true"/>
<spacer flex="1"/>
</hbox>

View File

@ -21,11 +21,11 @@ This will open a series of browser windows, either "one at a
<grid>
<columns><column/><column/></columns>
<rows>
<row autostretch="never" valign="middle">
<row align="center">
<text value="Index:"/>
<textbox id="formIndex" size="6" value=""/>
</row>
<row autostretch="never" valign="middle">
<row align="center">
<text value="Time:"/>
<textbox id="formTime" size="6" value=""/>
<text value="msec"/>
@ -43,11 +43,11 @@ This will open a series of browser windows, either "one at a
<column/>
</columns>
<rows>
<row autostretch="never" valign="middle">
<row align="center">
<text value="Times (ignoring the first):"/>
<textbox id="formTimes" size="45" value=""/>
</row>
<row autostretch="never" valign="middle">
<row align="center">
<text value="Txul (median):"/>
<hbox>
<textbox id="formMed" size="6" value=""/>
@ -55,15 +55,15 @@ This will open a series of browser windows, either "one at a
<button id="formAgain" onclick="tryAgain();" label="Try again" disabled="true"/>
</hbox>
</row>
<row autostretch="never" valign="middle">
<row align="center">
<text value="Avg:"/>
<hbox><textbox id="formAvg" size="6" value=""/></hbox>
</row>
<row autostretch="never" valign="middle">
<row align="center">
<text value="Min:"/>
<hbox><textbox id="formMin" size="6" value=""/></hbox>
</row>
<row autostretch="never" valign="middle">
<row align="center">
<text value="Max:"/>
<hbox><textbox id="formMax" size="6" value=""/></hbox>
</row>