hide view in layout [message #228980] |
Wed, 14 April 2004 21:47 |
Eclipse User |
|
|
|
Originally posted by: eugene_chan.hotmail.com
Hi,
I am trying to set a perspective layout with a lower left bottom to show
Property Sheet, but if I set to not show the view initially, it will show
a grey area. Is there a way to not showing the grey area, but have the
flexibility to have what is set above property sheet area to expand
vertically to cover the grey area, and vice versa when the property sheet
is open by user.
this is currently what is in my code:
IFolderLayout topRight = layout.createFolder("topRight", IPageLayout.TOP,
(float)0.70,layout.getEditorArea());
topRight.addView(ID_CONSOLE_VIEW);
// Top left.
IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT,
(float)0.30,"topRight");
topLeft.addView(IPageLayout.ID_RES_NAV);
IFolderLayout bottomRight = layout.createFolder("bottomRight",
IPageLayout.BOTTOM, (float)0.80,"topLeft");
bottomRight.addPlaceholder(IPageLayout.ID_PROP_SHEET);
layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET);
Thanks in advance!
|
|
|
Powered by
FUDForum. Page generated in 0.03507 seconds