Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
HorizontalGrößeStil
Ein Enum, das festlegt, wie Widgets den Bereich einer Spalte ausfüllen.
Verfügbar für Google Chat-Apps und Google Workspace-Add-ons.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
CardService.HorizontalSizeStyle.FILL_AVAILABLE_SPACE.
Attribute
Attribut
Typ
Beschreibung
FILL_AVAILABLE_SPACE
Enum
Die Größe des Widget wird so angepasst, dass es den verfügbaren horizontalen Bereich eines Column ausfüllt. Wenn die andere Spalte mehr Platz hat, kann das Widget den Bereich über den Platz seiner eigenen Spalte hinaus füllen.
Standard.
FILL_MINIMUM_SPACE
Enum
Die Größe der Widget wird so angepasst, dass sie in einem Column möglichst wenig horizontalen Raum einnimmt.
Der Mindestabstand hängt von der Größe des Widgets ab. Wenn das Widget kleiner als der Platz in der Spalte ist, wird es nicht maximiert, um den gesamten Platz auszufüllen.
[[["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-01-30 (UTC)."],[[["HorizontalSizeStyle is an enum used to define how widgets occupy space within a column in Google Chat apps and Google Workspace Add-ons."],["It offers two properties: `FILL_AVAILABLE_SPACE` (default) which expands the widget to fill the available horizontal space, potentially exceeding its column's width, and `FILL_MINIMUM_SPACE` which sizes the widget to its minimum required width based on its content."],["To use these properties, call them using the parent class, name, and property, like `CardService.HorizontalSizeStyle.FILL_AVAILABLE_SPACE`."]]],["`HorizontalSizeStyle` is an enum controlling widget sizing within a column in Google Chat apps and Workspace add-ons. It has two properties: `FILL_AVAILABLE_SPACE`, which is the default and allows a widget to occupy all horizontal space, even extending beyond its column if another has more space, and `FILL_MINIMUM_SPACE`, where the widget uses only the minimum space it requires and will not expand to fill the column.\n"]]