commit | a987b290beb29d29220ffb1353f055a416950018 | [log] [tgz] |
---|---|---|
author | Amit Mendapara <mendapara.amit@gmail.com> | Thu May 28 23:25:48 2020 +0530 |
committer | Lars Vogel <Lars.Vogel@vogella.com> | Wed Jun 10 09:50:34 2020 -0400 |
tree | d46cd8108469329153a6bcf4f11d69ffb65018d0 | |
parent | d19a5f41f139322032a7f67365d2c63b272cd4a3 [diff] |
Bug 483493 - Fix tab toolbar separator background issue This fix removes unnecessary layout spacing between the composite children widgets of the tab toolbars to remove the gap between them. Change-Id: I17af8732cfb88b55cc6c9865e871ce5ac42de692 Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java index 06d0b91..ac105f0 100644 --- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java +++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
@@ -713,6 +713,7 @@ Composite trComp = new Composite(tabFolder, SWT.NONE); RowLayout rl = new RowLayout(); trComp.setLayout(rl); + rl.spacing = 0; rl.marginBottom = rl.marginTop = rl.marginRight = rl.marginLeft = 0; tabFolder.setTopRight(trComp, SWT.RIGHT | SWT.WRAP);