提交 1fecd7c1 编写于 作者: S Serge Rider

#5110 Vert toolbars fix

上级 e4225267
......@@ -591,7 +591,12 @@ public abstract class ERDEditorPart extends GraphicalEditorWithFlyoutPalette
}
protected FlyoutPaletteComposite createPaletteComposite(Composite parent) {
FlyoutPaletteComposite paletteComposite = new FlyoutPaletteComposite(parent, 0, this.getSite().getPage(), this.getPaletteViewerProvider(), this.getPalettePreferences());
FlyoutPaletteComposite paletteComposite = new FlyoutPaletteComposite(
parent,
0,
this.getSite().getPage(),
this.getPaletteViewerProvider(),
this.getPalettePreferences());
paletteComposite.setBackground(UIUtils.getColorRegistry().get(ERDConstants.COLOR_ERD_DIAGRAM_BACKGROUND));
return paletteComposite;
}
......
......@@ -1197,7 +1197,7 @@ public class SQLEditor extends SQLEditorBase implements
sideBarChanged = true;
PresentationPanelToggleAction toggleAction = new PresentationPanelToggleAction(panelDescriptor);
VerticalButton panelButton = new VerticalButton(sideToolBar, SWT.LEFT);
panelButton.setAction(toggleAction, true);
panelButton.setAction(toggleAction, false);
panelButton.setData(panelDescriptor);
if (panelDescriptor.isAutoActivate()) {
panelButton.setChecked(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册