From 65bde5acc7f2c81e86a4962f2af647c8f06bc2ca Mon Sep 17 00:00:00 2001 From: Wim Jongman Date: Tue, 26 Nov 2024 22:17:41 +0100 Subject: [PATCH] TitledSeparator shows no separator on linux #606 (#618) Added explicit shadow parameter to get the same behavior on linux. --- .../nebula/widgets/opal/titledseparator/TitledSeparator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/opal/titledseparator/org.eclipse.nebula.widgets.opal.titledseparator/src/org/eclipse/nebula/widgets/opal/titledseparator/TitledSeparator.java b/widgets/opal/titledseparator/org.eclipse.nebula.widgets.opal.titledseparator/src/org/eclipse/nebula/widgets/opal/titledseparator/TitledSeparator.java index 114ee85ac..434572f15 100644 --- a/widgets/opal/titledseparator/org.eclipse.nebula.widgets.opal.titledseparator/src/org/eclipse/nebula/widgets/opal/titledseparator/TitledSeparator.java +++ b/widgets/opal/titledseparator/org.eclipse.nebula.widgets.opal.titledseparator/src/org/eclipse/nebula/widgets/opal/titledseparator/TitledSeparator.java @@ -146,7 +146,7 @@ private void createContent() { * Create a separator */ private void createSeparator() { - final Label separator = new Label(this, SWT.SEPARATOR | SWT.HORIZONTAL); + final Label separator = new Label(this, SWT.SEPARATOR | SWT.HORIZONTAL | SWT.SHADOW_OUT); separator.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false)); separator.setBackground(getBackground()); }