@Override
    protected int preferredTabAreaHeight(int tabPlacement, int width) {
      return calculateMaxTabHeight(tabPlacement);
    }
@Override
    protected int preferredTabAreaHeight(int tabPlacement, int width)