-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TitledSeparator shows no separator on linux #606
Milestone
Comments
This is a different behavior of SWT. I think we can add SWT.SHADOW_OUT to get the desired effect on all platforms. /**
* Create a separator
*/
private void createSeparator() {
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());
} |
wimjongman
added a commit
to wimjongman/nebula
that referenced
this issue
Nov 26, 2024
Added explicit shadow parameter to get the same behavior on linux.
wimjongman
added a commit
to wimjongman/nebula
that referenced
this issue
Nov 26, 2024
Added explicit shadow parameter to get the same behavior on linux.
wimjongman
added a commit
that referenced
this issue
Nov 26, 2024
wimjongman
added a commit
that referenced
this issue
Nov 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is how the example snippet looks on linux:
the examples page say it should look like this:
The text was updated successfully, but these errors were encountered: