[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: How to remove window border / margin

Thanks for your reply.

I thought it might be the layout too but the following createPartControl() method in my View doesn't seem to have any effect.

/**
* This is a callback that will allow us to create * the viewer and initialize it.
*/
public void createPartControl(Composite parent) {
GridLayout gridLayout = new GridLayout();
gridLayout.horizontalSpacing = 0;
gridLayout.verticalSpacing = 0;
gridLayout.marginWidth = 0;
gridLayout.marginHeight = 0;
parent.setLayout(gridLayout);
}


It seems as though the border is part of the window.

Steve