Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ void open(Point location, List<DropdownItemGroup> groups, String selectedItemId,
populateGroups(container, groups);

Point contentSize = container.computeSize(SWT.DEFAULT, SWT.DEFAULT);
// Keep sizing simple here. If the popup becomes scrollable we reserve
// scrollbar width in constrainHeightIfNeeded(), avoiding double-reserving
// the width when the scrollbar is detected in both places.
container.setSize(contentSize);
scrolledComposite.setMinSize(contentSize);

Expand Down