Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 337407
Collapse All | Expand All

(-)src/org/eclipse/swt/internal/widgets/tablekit/TableLCAUtil.java (-1 / +1 lines)
Lines 141-147 Link Here
141
        int imageWidth = tableAdapter.getItemImageWidth( i );
141
        int imageWidth = tableAdapter.getItemImageWidth( i );
142
        if( table.getColumnCount() > 0 ) {
142
        if( table.getColumnCount() > 0 ) {
143
          int maxImageWidth
143
          int maxImageWidth
144
            = bounds.width - ( ( imageBounds.x - checkWidth ) - bounds.x );
144
            = Math.max( 0, bounds.width - ( ( imageBounds.x - checkWidth ) - bounds.x ) );
145
          if( imageWidth > maxImageWidth ) {
145
          if( imageWidth > maxImageWidth ) {
146
            imageWidth = maxImageWidth;
146
            imageWidth = maxImageWidth;
147
          }
147
          }

Return to bug 337407