зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
cf45882e36
Коммит
3506522cc6
|
@ -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(); }"/>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -320,7 +320,6 @@
|
|||
<splitter id="helpsidebar-splitter"
|
||||
collapse="before"
|
||||
persist="state hidden"
|
||||
autostretch="never"
|
||||
state="open">
|
||||
<grippy/>
|
||||
</splitter>
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -135,7 +135,7 @@
|
|||
<spacer flex="1"/>
|
||||
</vbox>
|
||||
|
||||
<vbox autostretch="never">
|
||||
<vbox>
|
||||
<spacer flex="1"/>
|
||||
<image style="padding: 5px" id="fromBuddyIcon"/>
|
||||
<spacer flex="1"/>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
<description class="CardViewText" id="cvCustom4"/>
|
||||
<description class="CardViewText" id="cvNotes"/>
|
||||
|
||||
<hbox autostretch="never">
|
||||
<hbox>
|
||||
<image id="cvBuddyIcon"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;"
|
||||
|
|
|
@ -152,7 +152,7 @@
|
|||
<spacer flex="1"/>
|
||||
</vbox>
|
||||
|
||||
<vbox autostretch="never">
|
||||
<vbox>
|
||||
<spacer flex="1"/>
|
||||
<image style="padding: 5px" id="fromBuddyIcon"/>
|
||||
<spacer flex="1"/>
|
||||
|
|
|
@ -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();"
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче