Bug 1580717 - remove grid usage from EdHLineProps.xul. r=mkmelin
authorKhushil Mistry <khushil324@gmail.com>
Thu, 12 Sep 2019 19:26:00 +0200
changeset 36806 c52297648ad2d66ec9f6734a59c6556320a40727
parent 36805 5dd7e31170fca491964feeac2ad86b1c8f8a7476
child 36807 3fbaa02a4fce71903c7b208b136f0205dc577ece
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersmkmelin
bugs1580717
Bug 1580717 - remove grid usage from EdHLineProps.xul. r=mkmelin
mail/components/compose/content/dialogs/EdHLineProps.xul
--- a/mail/components/compose/content/dialogs/EdHLineProps.xul
+++ b/mail/components/compose/content/dialogs/EdHLineProps.xul
@@ -25,36 +25,40 @@
   <script src="chrome://messenger/content/messengercompose/EdHLineProps.js"/>
 
   <spacer id="location" offsetY="50" persist="offsetX offsetY"/>
 
   <groupbox>
     <hbox class="groupbox-title">
       <label class="header">&dimensionsBox.label;</label>
     </hbox>
-    <grid>
-      <columns><column/><column/><column /></columns>
-      <rows>
-        <row align="center">
+    <hbox>
+      <vbox>
+        <hbox align="center" flex="1">
           <label control="width"
                  value="&widthEditField.label;"
                  accesskey="&widthEditField.accessKey;"/>
-          <textbox class="narrow" id="width" flex="1" oninput="forceInteger('width')"/>
-          <menulist id="pixelOrPercentMenulist" />
-          <!-- menupopup and menuitems added by JS -->
-        </row>
-        <row align="center">
+        </hbox>
+        <hbox align="center" flex="1">
           <label control="height"
                  value="&heightEditField.label;"
                  accesskey="&heightEditField.accessKey;"/>
-          <textbox class="narrow" id="height" oninput="forceInteger('height')"/>
-          <label value="&pixelsPopup.value;" />
-        </row>
-      </rows>
-    </grid>
+        </hbox>
+      </vbox>
+      <vbox>
+        <textbox class="narrow" id="width" flex="1" oninput="forceInteger('width')"/>
+        <textbox class="narrow" id="height" flex="1" oninput="forceInteger('height')"/>
+      </vbox>
+      <vbox>
+        <menulist id="pixelOrPercentMenulist"/>
+        <hbox align="center" flex="1">
+          <label value="&pixelsPopup.value;"/>
+        </hbox>
+      </vbox>
+    </hbox>
     <checkbox id="3dShading" label="&threeDShading.label;" accesskey="&threeDShading.accessKey;"/>
   </groupbox>
   <groupbox>
     <hbox class="groupbox-title">
       <label class="header">&alignmentBox.label;</label>
     </hbox>
     <radiogroup id="alignmentGroup" orient="horizontal">
       <spacer class="spacer"/>