@Override
    public Rectangle getLayoutRec(final SingleRowPassInfo data,
                                  final int position,
                                  final int fixedPos,
                                  final int length,
                                  final int fixedFitLength) {
      Rectangle baseRect = new Rectangle(fixedPos, position, fixedFitLength, length);
      if (!ExperimentalUI.isNewUI()) {
        return baseRect;
      }
      Rectangle rect = myTabs.getMoreToolbar().getComponent().isVisible() && !data.moreRect.isEmpty()
                       ? data.moreRect : data.entryPointRect;
      Rectangle leftmostButtonRect = new Rectangle(rect.x - myTabs.getActionsInsets().left, rect.y, rect.width, rect.height);
      Rectangle intersection = baseRect.intersection(leftmostButtonRect);
      if (intersection.height > length * 0.4) {
        return new Rectangle(baseRect.x, baseRect.y, leftmostButtonRect.x - baseRect.x, baseRect.height);
      }
      return baseRect;
    }
@Override
    public Rectangle getLayoutRec(final SingleRowPassInfo data,
                                  final int position,
                                  final int fixedPos,
                                  final int length,
                                  final int fixedFitLength)