Bug 558769 - vertical label separator is too tall
Summary: vertical label separator is too tall
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.14   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-03 03:36 EST by Christoph Laeubrich CLA
Modified: 2020-05-12 16:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?