如题,SWT的ExpandBar当展开ExpandItem至出现竖直拖动条后,竖直拖动条不响应鼠标滚轮事件,Java代码如下:package com.trey.swt;import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.ExpandBar;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.ExpandItem;public class ExpanelTest { protected Shell shell;
private ExpandBar expandBar;
private ExpandItem eItem300;
private ExpandItem eItem450;
private ExpandItem eItem600; /**
 * Launch the application.
 * @param args
 */
public static void main(String[] args) {
try {
ExpanelTest window = new ExpanelTest();
window.open();
} catch (Exception e) {
e.printStackTrace();
}
} /**
 * Open the window.
 */
public void open() {
Display display = Display.getDefault();
createContents();
shell.open();
shell.layout();
while (!shell.isDisposed()) {
if (!display.readAndDispatch()) {
display.sleep();
}
}
} /**
 * Create contents of the window.
 */
protected void createContents() {
shell = new Shell();
shell.setSize(450, 300);
shell.setText("SWT Application");
shell.setLayout(new FillLayout(SWT.HORIZONTAL));

expandBar = new ExpandBar(shell, SWT.BORDER | SWT.V_SCROLL);

eItem300 = new ExpandItem(expandBar, SWT.NONE);
eItem300.setText("\u9AD8\u5EA6300");
eItem300.setHeight(300);

eItem450 = new ExpandItem(expandBar, SWT.NONE);
eItem450.setText("\u9AD8\u5EA6450");
eItem450.setHeight(450);

eItem600 = new ExpandItem(expandBar, SWT.NONE);
eItem600.setText("\u9AD8\u5EA6600");
eItem600.setHeight(600);
}}