Bug 1583951 - Remove XUL grid from printPreviewProgress.xul. r=mconley
authorTim Nguyen <ntim.bugs@gmail.com>
Mon, 18 Nov 2019 19:33:56 +0000
changeset 502459 b39ba65e2071c2e8f84b166ad367f7fd8c40f7d4
parent 502458 65114b5cb9ee40f8f8a168e56b090ddad54f9465
child 502460 320e0eac589ddda1bb228d6ae3ebd359b9b29639
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1583951
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1583951 - Remove XUL grid from printPreviewProgress.xul. r=mconley Differential Revision: https://phabricator.services.mozilla.com/D53307
toolkit/components/printing/content/printPreviewProgress.xul
--- a/toolkit/components/printing/content/printPreviewProgress.xul
+++ b/toolkit/components/printing/content/printPreviewProgress.xul
@@ -16,30 +16,18 @@
         onunload="onUnload()">
 
   <linkset>
     <html:link rel="localization" href="toolkit/printing/printDialogs.ftl"/>
   </linkset>
 
   <script src="chrome://global/content/printPreviewProgress.js"/>
 
-    <grid flex="1">
-      <columns>
-        <column/>
-        <column/>
-      </columns>
+  <box flex="1" style="display: grid; grid-template-columns: min-content max-content; grid-template-rows: max-content max-content;">
+    <!-- First row -->
+    <label id="dialog.titleLabel" data-l10n-id="print-title" style="justify-self: end;"/>
+    <label id="dialog.title"/>
 
-      <rows>
-        <row>
-          <hbox pack="end">
-            <label id="dialog.titleLabel" data-l10n-id="print-title"/>
-          </hbox>
-          <label id="dialog.title"/>
-        </row>
-        <row class="thin-separator">
-          <hbox pack="end">
-            <label id="dialog.progressSpaces" data-l10n-id="print-preparing"/>
-          </hbox>
-          <label id="dialog.progressLabel" data-l10n-id="print-progress"/>
-        </row>
-      </rows>
-    </grid>
+    <!-- Second row -->
+    <label id="dialog.progressSpaces" data-l10n-id="print-preparing" style="justify-self: end;"/>
+    <label id="dialog.progressLabel" data-l10n-id="print-progress"/>
+  </box>
 </dialog>