Skip to content

Commit

Permalink
TitledSeparator shows no separator on linux #606 (#618)
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
1 parent 97318d6 commit 65bde5a
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 65bde5a

Please sign in to comment.