Enum VerticalAlignment
VerticalAlignment
An enum that sets the vertical alignment of widgets in a column.
Available for Google Chat apps and Google Workspace Add-ons.
To call an enum, you call its parent class, name, and property. For example,
CardService.VerticleAlignment.TOP
.
Properties
Property | Type | Description |
CENTER | Enum | Vertically places the content at the center of the container. Default. |
TOP | Enum | Vertically places the content at the top of the container. |
BOTTOM | Enum | Vertically places the content at the bottom of the container. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-24 UTC.
[null,null,["Last updated 2024-07-24 UTC."],[[["`VerticalAlignment` is an enum used to set the vertical alignment of widgets within a column in Google Chat apps and Google Workspace Add-ons."],["It offers three alignment options: `CENTER` (default), `TOP`, and `BOTTOM`, allowing you to position content vertically within a container."],["To use it, call the enum through its parent class, name, and property, like this: `CardService.VerticleAlignment.TOP`."]]],[]]