1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-11 10:15:39 +02:00

bug 264330: Paths and symbols include list should have scrollbar

This commit is contained in:
Andrew Gvozdev 2010-07-03 14:39:42 +00:00
parent 2a0ae90a25
commit 903eb3c6a7

View file

@ -128,11 +128,14 @@ public abstract class AbstractLangsListTab extends AbstractCPropertyTab {
public void createControls(Composite parent) {
super.createControls(parent);
usercomp.setLayout(new GridLayout(2, true));
GridData gd = (GridData) usercomp.getLayoutData();
// Discourage settings entry table from trying to show all its items at once, see bug 264330
gd.heightHint =1;
// Create the sash form
sashForm = new SashForm(usercomp, SWT.NONE);
sashForm.setOrientation(SWT.HORIZONTAL);
GridData gd = new GridData(GridData.FILL_BOTH);
gd = new GridData(GridData.FILL_BOTH);
gd.horizontalSpan = 2;
sashForm.setLayoutData(gd);