Skip to content

Conversation

@laeubi
Copy link
Contributor

@laeubi laeubi commented May 1, 2022

Fix #32
FYI @joel-majano

@niraj-modi
Copy link
Member

Suggest we also tweak Snippet379.java to cover null LayoutData scenario for testing purpose.

@niraj-modi niraj-modi self-requested a review May 2, 2022 08:26
@laeubi
Copy link
Contributor Author

laeubi commented May 4, 2022

Suggest we also tweak Snippet379.java to cover null LayoutData scenario for testing purpose.

Thanks for the review, I have added a pack() call to the example to cover that case.

Copy link
Member

@niraj-modi niraj-modi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now, tested on Win10 for both:

  • layout.type = SWT.HORIZONTAL
  • layout.type = SWT.VERTICAL

@niraj-modi niraj-modi merged commit 1ca8cbd into eclipse-platform:master May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NullPointerException in BorderLayout when Layout Data is null

2 participants