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 27194 a88a6a88c599fc34e298b806270d1d1c9d38bd8b
parent 27193 b9cb19ec4335a720eafe4628c2352093352c675a
child 27195 f5fd987d0f184a550775d77ade37403bdb53c95e
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [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"/>