        return "center";
      case "topright":
      case "right":
      case "bottomright":
        return "end";
    }
  }

  function getVerticalAlignment() {
    switch (autolayoutAlignment) {
      case "topleft":
      case "topcenter":
      case "topright":
        return "start";
      case "left":
      case "center":
      case "right":
        return "center";
      case "bottomleft":
      case "bottomcenter":
      case "bottomright":
        return "end";
    }
  }

  // Show the alignment U