Bug 686533 - Fix vertical position of app menu. r=lucasr
authorWes Johnston <wjohnston@mozilla.com>
Thu, 22 Sep 2011 14:29:00 -0700
changeset 77356 d0b8300aab32778612cb32682afe1a0800ab14b9
parent 77355 e2688cf847c862e23a864060911f0d29ab8d0cc4
child 77357 4cae8b392bae20b3c509a7839d11c0cd41cdfb53
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewerslucasr
bugs686533
milestone9.0a1
Bug 686533 - Fix vertical position of app menu. r=lucasr
mobile/chrome/content/browser.xul
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -396,17 +396,18 @@
         <separator id="bookmark-form-line" class="prompt-line"/>
         <scrollbox id="bookmark-form" align="start" class="prompt-message" flex="1"/>
         <hbox id="bookmark-form-buttons" pack="center" class="prompt-buttons">
           <button label="&editBookmarkDone.label;" class="prompt-button" oncommand="BookmarkHelper.save();"/>
         </hbox>
       </dialog>
     </box>
 
-    <arrowbox id="appmenu-popup" hidden="true" type="dialog">
+    <!-- use an offset to remove the space taken by the invisible callout arrow -->
+    <arrowbox id="appmenu-popup" hidden="true" type="dialog" offset="18">
       <box id="appmenu-popup-sitecommands"/>
       <richlistbox id="appmenu-popup-appcommands"/>
     </arrowbox>
 
     <box id="panel-container" hidden="true" class="window-width window-height panel-dark"
          style="-moz-stack-sizing: ignore" left="10000">
       <box id="panel-container-inner" flex="1" class="panel-dark">
         <box id="panel-controls" class="panel-row-header" oncommand="BrowserUI.switchPane(event.target.getAttribute('linkedpanel'));">