public static Insets tabContentInsets(@Nullable Boolean actionsOnTheRight) {
        if (actionsOnTheRight == null) {
          return insets(tabContentInsetsActionsNoneKey(), isNewUI() ? insetsLeft(4) : insets(0, 4));
        }
        else if (actionsOnTheRight) {
          return insets(tabContentInsetsActionsRightKey(), isNewUI() ? insets(0, 4, 0, 6) : insets(0, 4, 0, 2));
        }
        else {
          return insets(tabContentInsetsActionsLeftKey(), isNewUI() ? insetsLeft(6) : insets(0, 6, 0, 4));
        }
      }
public static Insets tabContentInsets(@Nullable Boolean actionsOnTheRight)