Bug 513998: awesomebar sizing is broken on maemo, r=gavin
authorMark Finkle <mfinkle@mozilla.com>
Tue, 01 Sep 2009 23:35:08 -0400
changeset 810 2e8e83aac0d0d23706585e58305a7a868606f9e7
parent 809 c290f8ae37ce1ad37ca80c0851ba782417cdad06
child 811 4b520153dd86581dd7a622c32165c26c84cb10af
push id696
push usermfinkle@mozilla.com
push dateWed, 02 Sep 2009 03:35:15 +0000
reviewersgavin
bugs513998
Bug 513998: awesomebar sizing is broken on maemo, r=gavin
chrome/content/browser-ui.js
--- a/chrome/content/browser-ui.js
+++ b/chrome/content/browser-ui.js
@@ -308,18 +308,18 @@ var BrowserUI = {
     let tabs = document.getElementById("tabs-container");
     let controls = document.getElementById("browser-controls");
     if (!this._initControls) {
       this._initControls = true;
     }
 
     let popup = document.getElementById("popup_autocomplete");
     popup.top = this.toolbarH;
-    popup.height = Math.min(window.screen.availHeight, windowH) - this.toolbarH;
-    popup.width = Math.min(window.screen.availWidth, windowW);
+    popup.height = windowH - this.toolbarH;
+    popup.width = windowW;
 
     // toolbar UI
     document.getElementById("toolbar-container").height = this.toolbarH;
     document.getElementById("toolbar-main").width = windowW;
 
     // notification box
     document.getElementById("notifications").width = windowW;