Use the RDF pane's mode to create the RDF Pane accordingly

This commit is contained in:
radha%netscape.com 1998-10-08 21:19:16 +00:00
parent 9869f0fa6c
commit cbe3a1cc8f

View File

@ -438,12 +438,13 @@ XFE_NavCenterView::createSelectorBar()
void void
XFE_NavCenterView::createTree() XFE_NavCenterView::createTree()
{ {
_rdftree = new XFE_RDFChromeTreeView(this, getBaseWidget(), _rdftree = new XFE_RDFChromeTreeView(this, getBaseWidget(),
this, m_contextData); this, _isStandalone ? RDF_PANE_STANDALONE : RDF_PANE_DOCKED, m_contextData);
_rdftree->setStandAloneState(_isStandalone); _rdftree->setStandAloneState(_isStandalone);
_rdftree->setHtmlPaneHeightPercent(50); // _rdftree->setHtmlPaneHeightPercent(50);
// _rdftree->setHtmlPaneHeightFixed(100); // _rdftree->setHtmlPaneHeightFixed(100);
} }