Bug 1583952 - Remove XUL grid from toolkit/components/printing/content/printProgress.xul. r=bgrins
authorTim Nguyen <ntim.bugs@gmail.com>
Thu, 26 Sep 2019 22:08:38 +0000
changeset 496230 e11ca970b00b93d424a5422df890000c62304d66
parent 496229 b58ea6f54a8bf864702f94f746fc265fbd786fc0
child 496231 5700b7f042880dbec787bf585b542cb6c6b28f59
push id36647
push usernerli@mozilla.com
push dateFri, 04 Oct 2019 04:09:18 +0000
treeherdermozilla-central@678d4d2c3c4d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins
bugs1583952
milestone71.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 1583952 - Remove XUL grid from toolkit/components/printing/content/printProgress.xul. r=bgrins Differential Revision: https://phabricator.services.mozilla.com/D47138
toolkit/components/printing/content/printProgress.xul
--- a/toolkit/components/printing/content/printProgress.xul
+++ b/toolkit/components/printing/content/printProgress.xul
@@ -15,38 +15,32 @@
         onunload="onUnload()">
 
   <linkset>
     <html:link rel="localization" href="toolkit/printing/printDialogs.ftl"/>
   </linkset>
 
   <script src="chrome://global/content/printProgress.js"/>
 
-    <grid flex="1">
-      <columns>
-        <column/>
-        <column/>
-        <column/>
-      </columns>
+  <box style="display: grid; grid-template-columns: auto 1fr auto;" flex="1">
+    <!-- First row -->
+    <hbox pack="end">
+      <label id="dialog.titleLabel" data-l10n-id="print-title"/>
+    </hbox>
+    <label id="dialog.title"/>
+    <spacer/>
 
-      <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">
-            <html:label id="dialog.progressLabel" for="dialog.progress"
-                        style="margin-right: 1em;" data-l10n-id="progress"></html:label>
-          </hbox>
-          <label id="dialog.tempLabel" data-l10n-id="print-preparing"/>
-          <vbox pack="center" id="dialog.progressBox">
-            <html:progress id="dialog.progress" value="0" max="100"></html:progress>
-          </vbox>
-          <hbox pack="end" style="min-width: 2.5em;">
-            <label id="dialog.progressText"/>
-          </hbox>
-        </row>
-      </rows>
-    </grid>
+    <!-- Second row -->
+    <hbox pack="end">
+      <html:label id="dialog.progressLabel" for="dialog.progress"
+                  style="margin-right: 1em;" data-l10n-id="progress"/>
+    </hbox>
+    <box>
+      <label id="dialog.tempLabel" data-l10n-id="print-preparing"/>
+      <vbox pack="center" id="dialog.progressBox" flex="1">
+        <html:progress id="dialog.progress" value="0" max="100" style="width: 100%;"/>
+      </vbox>
+    </box>
+    <hbox pack="end" style="min-width: 2.5em;">
+      <label id="dialog.progressText"/>
+    </hbox>
+  </box>
 </dialog>