HorizontalAlignment
The alignment of the content within the cell.
Enums |
LEADING |
Leading edge of the cell. This is the default. |
CENTER |
Content is aligned to the center of the column. |
TRAILING |
Content is aligned to the trailing edge of the column. |
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-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["Cell content alignment defaults to the leading edge (left for LTR languages, right for RTL)."],["Alignment options include leading, center, and trailing, controlling how content is positioned within the cell."],["`TRAILING` aligns content to the column's trailing edge (right for LTR languages, left for RTL)."]]],["The document defines cell content alignment options using enums. `LEADING` aligns content to the cell's leading edge, which is the default setting. `CENTER` positions content in the column's center. `TRAILING` aligns content to the column's trailing edge. These enums dictate how text or other elements are positioned within a designated cell space.\n"]]