Skip to content

Commit

Permalink
TitledSeparator shows no separator on linux #606
Browse files Browse the repository at this point in the history
Added explicit shadow parameter to get the same behavior on linux.
  • Loading branch information
wimjongman authored Nov 26, 2024
2 parents 97318d6 + 4f89983 commit bb71432
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit bb71432

Please sign in to comment.