SWT Section reserves too much vertical space when using a custom row layout for its children
- 阅读更多 关于 SWT Section reserves too much vertical space when using a custom row layout for its children
问题 I use a GridLayout with one column inside a Section . There are three "rows" in the grid, having a white background. I would like the Section to grab horizontal space but only as much vertical space as needed : Each row uses a custom row layout and has two children. Furthermore, that row layout has two states: a) show on a single line (if total width is large enough) b) show second child (red) on an extra line (if total width of window is too small for both children) For both states I would