@Override
  protected boolean applyTabLayout(SingleRowPassInfo data, TabLabel label, int length) {
    int tabCount = data.toLayout.size();

    if (tabCount > 0) {
      Rectangle bounds = getStrategy().getLayoutRect(data, data.position, length);

      int tabsWidth = tabs.getWidth();
      bounds.width = tabsWidth / tabCount;

      if (tabs.getIndexOf(label.getInfo()) == tabs.getTabCount() - 1) {
        int fullWidth = bounds.width * tabCount;
        if (fullWidth < tabsWidth) {
          bounds.width += tabsWidth - fullWidth;
        }
      }

      tabs.layout(label, bounds);
      label.setAlignmentToCenter(true);

      return true;
    }

    return super.applyTabLayout(data, label, length);
  }
@Override
  protected boolean applyTabLayout(SingleRowPassInfo data, TabLabel label, int length)