How to place a view at the bottom with a 100% width [message #480284] |
Fri, 14 August 2009 18:08 |
Marc Schlegel Messages: 92 Registered: July 2009 |
Member |
|
|
Hello
I am currently playing around with my perspective and I am not able to place the
property-view below another view and the editorarea
public void createInitialLayout(IPageLayout layout) {
// Get the editor area.
String editorArea = layout.getEditorArea();
// Top left: Resource Navigator view and Bookmarks view placeholder
IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.3f,
editorArea);
topLeft.addView(CustomerView.ID);
topLeft.addPlaceholder(IPageLayout.ID_BOOKMARKS);
// Bottom left: Outline view and Property Sheet view
IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.7f,
editorArea);
bottom.addView(IPageLayout.ID_PROP_SHEET);
}
With this the view is below the editorarea, but the topLeftArea still goes down
to the bottom. When it runs I can manually move the propertyview down so it must
be possible somehow. So I tried the following
FolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.7f,
"topLeft" | editorArea)
but this doesnt work.
Any ideas?
Thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.03553 seconds