Bug 522472: Regression : adding more than 4 tabs mess up the tab bar [r=webapps]
authorVivien Nicolas <21@vingtetun.org>
Thu, 15 Oct 2009 12:54:36 -0400
changeset 65672 e2f7f60cbf0aeadb0508f205f36dfad5a92ad84e
parent 65671 29e70c0c856cbdedf526da8db51ff304e38d212a
child 65673 969c1e92f53d2a4f3b06a83d237b403214797741
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswebapps
bugs522472
Bug 522472: Regression : adding more than 4 tabs mess up the tab bar [r=webapps]
mobile/chrome/content/browser-ui.js
--- a/mobile/chrome/content/browser-ui.js
+++ b/mobile/chrome/content/browser-ui.js
@@ -319,16 +319,19 @@ var BrowserUI = {
   },
   
   get starButton() {
     delete this.starButton;
     return this.starButton = document.getElementById("tool-star");
   },
 
   sizeControls : function(windowW, windowH) {
+    // tabs
+    document.getElementById("tabs").resize();
+
     // awesomebar
     let popup = document.getElementById("popup_autocomplete");
     popup.top = this.toolbarH;
     popup.height = windowH - this.toolbarH;
     popup.width = windowW;
 
     // bookmark popup
     let bookmarkPopup = document.getElementById("bookmark-popup");