Bug 1600928 - Port bug 1600281: Rewrite horizontal boxes that were incorrectly translated from align=right to align=end to use pack=end. r=mkmelin DONTBUILD
authorRichard Marti <richard.marti@gmail.com>
Tue, 03 Dec 2019 15:06:20 +0100
changeset 82239 9a2171cc93933aa39ee042e7379548c8eacbd9e2
parent 82237 825c14a55e122cec28b5e1f7d3ce83007d89f32c
child 82240 bd3db1e73766063f83876f8031936895105cf6ac
child 82242 0683b9227f1d098773bdf9ba10c3c57ccaca868a
child 82244 65f427004ab5069157866f97a95f7ec6992c8c60
push id9938
push userkhushil324@gmail.com
push dateWed, 04 Dec 2019 10:03:25 +0000
treeherdertry-comm-central@73153356fea5 [default view] [failures only]
reviewersmkmelin
bugs1600928, 1600281
Bug 1600928 - Port bug 1600281: Rewrite horizontal boxes that were incorrectly translated from align=right to align=end to use pack=end. r=mkmelin DONTBUILD
mail/components/preferences/permissions.xul
mailnews/base/content/msgSynchronize.xul
mailnews/base/prefs/content/am-offline.xul
mailnews/extensions/newsblog/content/feed-subscriptions.xul
--- a/mail/components/preferences/permissions.xul
+++ b/mail/components/preferences/permissions.xul
@@ -62,27 +62,27 @@
         <splitter class="tree-splitter"/>
         <treecol id="statusCol" label="&treehead.status.label;" flex="1"
                  data-field-name="capability" persist="width"/>
       </treecols>
       <treechildren/>
     </tree>
   </vbox>
   <vbox>
-    <hbox class="actionButtons" align="start" flex="1">
+    <hbox class="actionButtons" flex="1">
       <button id="removePermission" disabled="true"
               accesskey="&removepermission.accesskey;"
               icon="remove" label="&removepermission.label;"
               oncommand="gPermissionManager.onPermissionDeleted();"/>
       <button id="removeAllPermissions"
               icon="clear" label="&removeallpermissions.label;"
               accesskey="&removeallpermissions.accesskey;"
               oncommand="gPermissionManager.onAllPermissionsDeleted();"/>
     </hbox>
     <spacer flex="1"/>
-    <hbox class="actionButtons" align="end" flex="1">
+    <hbox class="actionButtons" pack="end" flex="1">
       <button oncommand="window.close();" icon="close"
               label="&button.cancel.label;" accesskey="&button.cancel.accesskey;" />
       <button id="btnApplyChanges" oncommand="gPermissionManager.onApplyChanges();" icon="save"
               label="&button.ok.label;" accesskey="&button.ok.accesskey;"/>
     </hbox>
   </vbox>
 </window>
--- a/mailnews/base/content/msgSynchronize.xul
+++ b/mailnews/base/content/msgSynchronize.xul
@@ -30,13 +30,13 @@
                   accesskey="&syncTypeMail.accesskey;"/>
         <checkbox id="syncNews" label="&syncTypeNews.label;" accesskey="&syncTypeNews.accesskey;"/>
     </vbox>
     <vbox align="start">
         <checkbox id="sendMessage" label="&sendMessage.label;" accesskey="&sendMessage.accesskey;"/>
         <checkbox id="workOffline" label="&workOffline.label;" accesskey="&workOffline.accesskey;"/>
     </vbox>
     <separator class="thin"/>
-    <hbox align="end">
+    <hbox pack="end">
         <button id="select" label="&selectButton.label;" accesskey="&selectButton.accesskey;"
                 oncommand="OnSelect();"/>
     </hbox>
 </dialog>
--- a/mailnews/base/prefs/content/am-offline.xul
+++ b/mailnews/base/prefs/content/am-offline.xul
@@ -34,22 +34,22 @@
               id="offline.folders" label="&allFoldersOffline2.label;"
               oncommand="toggleOffline()"
               accesskey="&allFoldersOffline2.accesskey;"/>
 
     <description hidefor="pop3,nntp,movemail,none,rss">&allFoldersOfflineNote.label;</description>
 
     <separator class="thin" hidefor="movemail,pop3,nntp,none"/>
 
-    <hbox hidefor="movemail,pop3,nntp,none" align="end">
+    <hbox hidefor="movemail,pop3,nntp,none" pack="end">
         <button label="&offlineImapAdvancedOffline.label;" accesskey="&offlineImapAdvancedOffline.accesskey;"
                 oncommand="onClickSelect()" id="selectImapFoldersButton" class="selectForOfflineUseButton"/>
     </hbox>
 
-    <hbox hidefor="movemail,pop3,imap,none" align="end">
+    <hbox hidefor="movemail,pop3,imap,none" pack="end">
         <button label="&offlineSelectNntp.label;" accesskey="&offlineSelectNntp.accesskey;"
                 oncommand="onClickSelect()" id="selectNewsgroupsButton" class="selectForOfflineUseButton"/>
     </hbox>
 
     </groupbox>
 
     <groupbox id="diskspace.titlebox">
       <label class="header" hidefor="movemail,pop3,none,rss">&diskspaceGroupTitle.label;</label>
--- a/mailnews/extensions/newsblog/content/feed-subscriptions.xul
+++ b/mailnews/extensions/newsblog/content/feed-subscriptions.xul
@@ -50,17 +50,17 @@
   </keyset>
 
   <stringbundle id="bundle_newsblog"
                 src="chrome://messenger-newsblog/locale/newsblog.properties"/>
   <stringbundle id="bundle_brand"
                 src="chrome://branding/locale/brand.properties"/>
 
   <vbox flex="1" id="contentPane">
-    <hbox align="end">
+    <hbox pack="end">
       <label is="text-link" id="learnMore"
              crop="end"
              value="&learnMore.label;"
              href="https://support.mozilla.org/kb/how-subscribe-news-feeds-and-blogs"/>
     </hbox>
 
     <tree id="rssSubscriptionsList"
           treelines="true"