Community
Participate
Working Groups
When I run this on Windows 7, the table on the left doesn't scroll but the tree on the right scrolls to the bottom as expected. ------------------- Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.NONE); for (int i = 0; i < 20; i++) { new TableItem(table, SWT.LEAD).setText(String.valueOf(i)); } final Tree tree = new Tree(shell, SWT.NONE); for (int i = 0; i < 20; i++) { new TreeItem(tree, SWT.LEAD).setText(String.valueOf(i)); } Point size = table.computeSize(SWT.DEFAULT, SWT.DEFAULT); table.getVerticalBar().setSelection(table.getVerticalBar().getMaximum()); tree.getVerticalBar().setSelection(table.getVerticalBar().getMaximum()); shell.setSize(size.x, size.y / 2); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose();
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.