@Override
  protected @NotNull TabLayout createRowLayout() {
    if (isSingleRow()) {
      return new WindowTabsLayout(this);
    }
    else {
      return super.createRowLayout();
    }
  }
@Override
  protected @NotNull TabLayout createRowLayout()