Enum VerticalAlignment
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
VerticalAlignment
סוג enum שקובע את היישור האנכי של הווידג'טים בעמודה.
זמין לאפליקציות של Google Chat ולתוספים ל-Google Workspace.
כדי לקרוא ל-enum, קוראים למחלקת האב, לשם ולמאפיין שלו. לדוגמה,
CardService.VerticleAlignment.TOP.
מאפיינים
| נכס | סוג | תיאור |
CENTER | Enum | ממקם את התוכן במרכז הקונטיינר בצורה אנכית. ברירת מחדל. |
TOP | Enum | התוכן ממוקם אנכית בחלק העליון של המאגר. |
BOTTOM | Enum | ממקם את התוכן אנכית בתחתית המאגר. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-04-13 (שעון UTC).
[null,null,["עדכון אחרון: 2026-04-13 (שעון UTC)."],[],["`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"]]