提交 ff95b2bd 编写于 作者: J jurgen

Tabbed UI fixes (-borders)

Former-commit-id: a3d979f7
上级 47d560fb
......@@ -204,7 +204,9 @@ public class ProgressPageControl extends Composite implements ISearchContextProv
new ToolBar(searchControlsComposite, SWT.NONE);
customControlsComposite = new Composite(controlsComposite, SWT.NONE);
customControlsComposite.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
gd = new GridData(GridData.HORIZONTAL_ALIGN_END);
//gd.verticalIndent = 3;
customControlsComposite.setLayoutData(gd);
gl = new GridLayout(2, false);
gl.marginHeight = 0;
gl.marginWidth = 0;
......
......@@ -94,9 +94,11 @@ public abstract class MultiPageAbstractEditor extends MultiPageEditorPart
Composite pageContainer = getContainer();
if (pageContainer instanceof CTabFolder) {
CTabFolder tabFolder = (CTabFolder)pageContainer;
tabFolder.setSimple(false);
tabFolder.setSimple(true);
tabFolder.setMRUVisible(true);
// tabFolder.set
tabFolder.setTabPosition(SWT.TOP);
tabFolder.setBorderVisible(true);
//tabFolder.setBorderVisible(true);
Layout parentLayout = tabFolder.getParent().getLayout();
if (parentLayout instanceof FillLayout) {
((FillLayout)parentLayout).marginHeight = 5;
......
......@@ -168,9 +168,11 @@ public abstract class ERDEditorPart extends GraphicalEditorWithFlyoutPalette
@Override
public void createPartControl(Composite parent)
{
progressControl = new ProgressControl(parent, SWT.NONE);
progressControl = new ProgressControl(parent, SWT.SHEET);
progressControl.setShowDivider(true);
super.createPartControl(progressControl.createContentContainer());
Composite contentContainer = progressControl.createContentContainer();
super.createPartControl(contentContainer);
progressControl.createProgressPanel();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册