table.addListener(SWT.MeasureItem, new Listener() {
public void handleEvent(Event event) {
// 设置行高度
event.height = (int) Math.floor(event.gc.getFontMetrics().getHeight() * 1.5);
}
});
05-11 20:44