Enum VerticalAlignment
縦揃え
列内のウィジェットの垂直配置を設定する列挙型。
Google Chat アプリと Google Workspace アドオンで利用できます。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。例:
CardService.VerticleAlignment.TOP
プロパティ
プロパティ | タイプ | 説明 |
CENTER | Enum | コンテンツをコンテナの中央に垂直方向に配置します。デフォルトです。 |
TOP | Enum | コンテンツをコンテナの上部に垂直に配置します。 |
BOTTOM | Enum | コンテンツをコンテナの下部に垂直方向に配置します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-30 UTC。
[null,null,["最終更新日 2025-01-30 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`."]]],["`VerticalAlignment` is an enum used in Google Chat apps and Workspace add-ons to control widget placement within a column. It offers three properties: `CENTER` (default), which centers content vertically; `TOP`, which aligns content to the top; and `BOTTOM`, which aligns content to the bottom. To use these properties, call `CardService.VerticleAlignment` followed by the desired property (e.g., `CardService.VerticleAlignment.TOP`). This allows for precise vertical positioning of elements.\n"]]