Bug 686533 - Fix vertical position of app menu. r=lucasr
authorWes Johnston <wjohnston@mozilla.com>
Thu, 22 Sep 2011 14:29:00 -0700
changeset 78667 d0b8300aab32778612cb32682afe1a0800ab14b9
parent 78666 e2688cf847c862e23a864060911f0d29ab8d0cc4
child 78668 4cae8b392bae20b3c509a7839d11c0cd41cdfb53
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr
bugs686533
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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'));">