Enum 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 ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון 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"],null,[]]