Community
Participate
Working Groups
For single-sourcing we should have tree.getGridLineWidth() - just as we also have table.getGridLineWidth(). Here is the code from SWT: /** * Returns the width in pixels of a grid line. * * @return the width of a grid line in pixels * * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @since 3.1 */ public int getGridLineWidth () { checkWidget (); return GRID_WIDTH; }
Fixed in CVS HEAD.