Mit Sammlungen den Überblick behalten Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
HorizontaleAusrichtung
Ein Enum, das die horizontale Ausrichtung eines Widgets angibt.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel: CardService.HorizontalAlignment.START.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eHorizontalAlignment\u003c/code\u003e is an enum used to specify the horizontal alignment of a widget within a Google Workspace add-on.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three alignment options: \u003ccode\u003eSTART\u003c/code\u003e, \u003ccode\u003eCENTER\u003c/code\u003e, and \u003ccode\u003eEND\u003c/code\u003e, allowing developers to position widgets at the beginning, middle, or end of a line or container.\u003c/p\u003e\n"],["\u003cp\u003eTo use these options, developers call the enum property through its parent class like this: \u003ccode\u003eCardService.HorizontalAlignment.START\u003c/code\u003e.\u003c/p\u003e\n"]]],["`HorizontalAlignment` is an enum defining how a widget aligns horizontally. It uses properties accessed via `CardService.HorizontalAlignment`. The `START` property aligns the widget to the beginning of the sentence, `CENTER` aligns it to the center, and `END` aligns it to the sentence's end. These properties are accessed as an Enum.\n"],null,["HorizontalAlignment\n\nAn enum that specifies the horizontal alignment of a widget.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.HorizontalAlignment.START`. \n\nProperties\n\n| Property | Type | Description |\n|----------|--------|-----------------------------------------------------|\n| `START` | `Enum` | Align the widget to the start of the sentence side. |\n| `CENTER` | `Enum` | Align the widget to the center. |\n| `END` | `Enum` | Align the widget to the end of the sentence side. |"]]