Bug 1215150 - Browser Preferences dialog's contents clipped at the right. r=Ratty, a=ewong
authorrsx11m <rsx11m.pub@gmail.com>
Fri, 20 May 2016 19:36:23 -0500
changeset 21968 a88a6a88c599fc34e298b806270d1d1c9d38bd8b
parent 21967 b9cb19ec4335a720eafe4628c2352093352c675a
child 21969 f5fd987d0f184a550775d77ade37403bdb53c95e
push id1732
push userrsx11m.pub@gmail.com
push dateTue, 24 May 2016 13:24:19 +0000
treeherdercomm-aurora@f5fd987d0f18 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersRatty, ewong
bugs1215150
Bug 1215150 - Browser Preferences dialog's contents clipped at the right. r=Ratty, a=ewong
suite/common/bindings/prefwindow.xml
--- a/suite/common/bindings/prefwindow.xml
+++ b/suite/common/bindings/prefwindow.xml
@@ -374,16 +374,18 @@
               var index = this._navigationTree.contentView
                               .getIndexOfItem(aPane.preftreeitem);
               this._navigationTree.view.selection.select(index);
             }
           }
           this.setPaneTitle(aPane);
           if (this.scrollHeight > window.innerHeight)
             window.innerHeight = this.scrollHeight;
+          if (this.scrollWidth > window.innerWidth)
+            window.innerWidth = this.scrollWidth;
         ]]>
         </body>
       </method>
 
     <!-- copied from contextHelp.js
          Locate existing help window for this helpFileURI. -->
       <method name="locateHelpWindow">
         <parameter name="helpFileURI"/>