我遇到了我製作的Firefox工具欄的問題。如果我拖動圖標或將搜索框放在它上面,它們都會對齊到工具欄的左側,並將我的工具欄圖標推到右側。如果我將拖動到欄上的圖標移動到圖標的右側,則Firefox重新啓動時,它們會移回到左側。我不知道我做錯了什麼。FF插件工具欄 - 添加的東西位於工具欄的右側
這裏是我的代碼:
<toolbox id="navigator-toolbox">
<toolbar id="TutTB-Toolbar" toolbarname="FreeLayer Toolbar" accesskey="T"
class="chromeclass-toolbar" context="toolbar-context-menu"
hidden="false" mode="icons" persist="hidden" customizable="true" observes="cmd_viewrstb" inherits="hidden" >
<toolbaritem>
<toolbarbutton id="Back-MainMenu" type="Plain" oncommand="gBrowser.webNavigation.goBack()"
tooltiptext="Back">
</toolbarbutton>
<toolbarbutton id="Foward-MainMenu" type="Plain" oncommand="gBrowser.webNavigation.goForward()"
tooltiptext="Forward">
</toolbarbutton>
<toolbarbutton id="Reload-MainMenu" type="Plain" oncommand="BrowserReloadSkipCache();"
tooltiptext="Reload">
</toolbarbutton>
<toolbarbutton id="Home-MainMenu" type="Plain" oncommand="window.BrowserHome()"
tooltiptext="Home">
</toolbarbutton>
<menulist id="TutTB-SearchTerms" editable="true" flex="1"
minwidth="100" width="450"
onkeypress="objTutorialToolbar.KeyHandler(event);">
<menupopup id="TutTB-SearchTermsMenu" onpopupshowing="objTutorialToolbar.Populate()" />
</menulist>
<splitter id="TutTB-ResizeSplitter" state="open" collapse="none"
resizebefore="closest" resizeafter="farthest"
tooltiptext="Resize the Search Box">
<vbox id="TutTB-ResizeBar" />
</splitter>
<toolbarbutton id="TutTB-Combined-Button" label="Search"
type="Plain" tooltiptext="Search"
oncommand="objTutorialToolbar.Search(event, 'web')">
</toolbarbutton>
<toolbarbutton id="Loc-MainMenu" type="menu-button"
tooltiptext="Actual Location">
<menupopup>
<menuitem id="web-location" label="Actual Location"
class="menuitem-iconic" tooltiptext="Actual Location" />
</menupopup>
</toolbarbutton>
</toolbaritem>
<toolbarspring />
</toolbar>
</toolbox>