Bug 940052 - [Australis] Customize tab gets truncated after entering customization mode. r=mconley

This commit is contained in:
Jared Wein 2013-12-21 01:17:02 -05:00
parent 9f3dbd06c6
commit 80055144a3

View File

@ -44,6 +44,14 @@ let CustomizationHandler = {
PlacesToolbarHelper.customizeStart();
BookmarkingUI.customizeStart();
DownloadsButton.customizeStart();
// The additional padding on the sides of the browser
// can cause the customize tab to get clipped.
let tabContainer = gBrowser.tabContainer;
if (tabContainer.getAttribute("overflow") == "true") {
let tabstrip = tabContainer.mTabstrip;
tabstrip.ensureElementIsVisible(gBrowser.selectedTab, true);
}
},
_customizationEnding: function(aDetails) {