Changeset 577

Show
Ignore:
Timestamp:
01/25/10 00:09:31 (3 years ago)
Author:
joerg
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/util/gui/SCETabbedPaneUI.java

    r576 r577  
    5656 
    5757  protected int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics) { 
    58     return super.calculateTabWidth(tabPlacement, tabIndex, metrics) + 20; 
     58    int width = super.calculateTabWidth(tabPlacement, tabIndex, metrics); 
     59    if(tabIndex == 0 || tabIndex == tabbedPane.getTabCount()-1) width += 10; 
     60    return width+20; 
    5961  } 
    6062