Bug 558769

Summary: vertical label separator is too tall
Product: [Eclipse Project] Platform Reporter: Christoph Laeubrich <laeubi>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov
Version: 4.14   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Christoph Laeubrich CLA 2020-01-03 03:36:34 EST
As described here [1] and here [2] the separator disturbs the layout if not  computes a custom height (what is very inconvenient).

Steps to reproduce:
- create a composite and place a button and a label using grid layout
- everything looks ok
- add between the both the folwoing code
> new Label(showLabelsContainer, SWT.SEPARATOR | SWT.VERTICAL)
- now the composite height is about three times the height


[1] https://www.eclipse.org/forums/index.php/t/137744/
[2] https://stackoverflow.com/questions/9234603/swt-veritcal-separator-too-tall-horizontal-too-short-table-too-narrow
Comment 1 Alexander Kurtakov CLA 2020-05-12 16:40:56 EDT
Can you please provide a snippet to reproduce the issue?