Skip to content

Commit

Permalink
Fix grab excess vertical space. eclipse-tm4e#552
Browse files Browse the repository at this point in the history
innerParent was grabbing all the excess vertical space. Changed to
layout data to do not grab excess vertical space.
  • Loading branch information
raghucssit committed Jun 14, 2023
1 parent 43b2dc8 commit e823f88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected Control createContents(@Nullable final Composite ancestor) {
innerLayout.marginHeight = 0;
innerLayout.marginWidth = 0;
innerParent.setLayout(innerLayout);
final var gd = new GridData(GridData.FILL_BOTH);
final var gd = new GridData(SWT.FILL, SWT.FILL, true, false);
gd.horizontalSpan = 2;
innerParent.setLayoutData(gd);

Expand Down

0 comments on commit e823f88

Please sign in to comment.