Fix layout problem with mailnews. The iframe in 'My Panels' would not strecth. Added an extra box layer to contain it. r=akkana
git-svn-id: svn://10.0.0.236/trunk@204239 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -29,16 +29,15 @@
|
||||
<!-- Overlay the sidebar panels -->
|
||||
<box id="sidebar-box" align="vertical" persist="hidden width">
|
||||
<splitter id="title-box" class="sidebar-main-header" collapse="after"
|
||||
persist="state" onclick="sidebarOpenClosePanel(this)">
|
||||
persist="state">
|
||||
<html:div class="panel-bar">
|
||||
&sidebar.panels.label;
|
||||
</html:div>
|
||||
<spring flex="100%"/>
|
||||
<titledbutton class="borderless"
|
||||
value="&sidebar.customize.label;"
|
||||
onclick="sidebarCustomize();" />
|
||||
</splitter>
|
||||
|
||||
onclick="SidebarCustomize();" />
|
||||
</splitter><box align="vertical" flex="1*">
|
||||
<box id="sidebar-panels" align="vertical"
|
||||
datasources="chrome://sidebar/content/local-panels.rdf
|
||||
chrome://sidebar/content/remote-panels.rdf"
|
||||
@@ -49,7 +48,7 @@
|
||||
<titledbutton uri="rdf:*" align="left"
|
||||
value="rdf:http://home.netscape.com/NC-rdf#title"
|
||||
class="panel-bar borderless"
|
||||
onclick="sidebarOpenClosePanel(this)"
|
||||
onclick="SidebarSelectPanel(this)"
|
||||
iframe-src="rdf:http://home.netscape.com/NC-rdf#content" />
|
||||
<!-- <html:iframe uri="rdf:*" content="true"
|
||||
src="rdf:http://home.netscape.com/NC-rdf#content"
|
||||
@@ -59,7 +58,7 @@
|
||||
</template>
|
||||
</box>
|
||||
<html:iframe id="sidebar-content" content="true" src="about:blank"
|
||||
class="panel-frame" flex='1*'/>
|
||||
class="panel-frame" flex='1*'/></box>
|
||||
</box>
|
||||
|
||||
<!-- Splitter on the right of sidebar -->
|
||||
@@ -79,7 +78,7 @@
|
||||
<!-- View->Sidebar toggle -->
|
||||
<menupopup id="menu_View_Popup">
|
||||
<menuitem id="menu_sidebar" type="checkbox" value="&sidebarCmd.label;"
|
||||
oncommand="sidebarShowHide();" position="2"/>
|
||||
oncommand="SidebarShowHide();" position="2"/>
|
||||
</menupopup>
|
||||
|
||||
<!-- Scripts go last, because they peek at state to tweak menus -->
|
||||
|
||||
Reference in New Issue
Block a user