تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
أفقيالحجمالنمط
فهرس يحدّد كيفية ملء التطبيقات المصغّرة لمساحة عمود
تتوفّر هذه الميزة لتطبيقات Google Chat وإضافات Google Workspace.
لاستدعاء قائمة أرقام صحيحة، يمكنك استدعاء صفها الرئيسي واسمها وموقعها. مثلاً:
CardService.HorizontalSizeStyle.FILL_AVAILABLE_SPACE
الخصائص
الموقع
النوع
الوصف
FILL_AVAILABLE_SPACE
Enum
تُحدِّد حجم Widget لملء المساحة الأفقية المتاحة في Column. إذا كان عمود
other يحتوي على مساحة أكبر، يمكن للتطبيق المصغّر ملء المساحة خارج عموده.
تلقائي:
FILL_MINIMUM_SPACE
Enum
يغيّر حجم Widget لملء أقل قدر من المساحة الأفقية في Column.
يستند الحد الأدنى للمساحة إلى حجم التطبيق المصغّر. إذا كان التطبيق المصغّر أصغر من المساحة
في العمود، لا يتم توسيعه لملء المساحة.
تاريخ التعديل الأخير: 2025-01-30 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-01-30 (حسب التوقيت العالمي المتفَّق عليه)"],[[["HorizontalSizeStyle is an enum used to define how widgets occupy space within a column in Google Chat apps and Google Workspace Add-ons."],["It offers two properties: `FILL_AVAILABLE_SPACE` (default) which expands the widget to fill the available horizontal space, potentially exceeding its column's width, and `FILL_MINIMUM_SPACE` which sizes the widget to its minimum required width based on its content."],["To use these properties, call them using the parent class, name, and property, like `CardService.HorizontalSizeStyle.FILL_AVAILABLE_SPACE`."]]],["`HorizontalSizeStyle` is an enum controlling widget sizing within a column in Google Chat apps and Workspace add-ons. It has two properties: `FILL_AVAILABLE_SPACE`, which is the default and allows a widget to occupy all horizontal space, even extending beyond its column if another has more space, and `FILL_MINIMUM_SPACE`, where the widget uses only the minimum space it requires and will not expand to fill the column.\n"]]