Enum HorizontalSizeStyle
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অনুভূমিক আকার শৈলী একটি enum যা সেট করে কিভাবে উইজেট একটি কলামের স্থান পূরণ করে।
Google Chat অ্যাপ এবং Google Workspace অ্যাড-অনগুলির জন্য উপলব্ধ।
একটি enum কল করার জন্য, আপনি তার পিতামাতার শ্রেণী, নাম এবং সম্পত্তি কল করুন। উদাহরণস্বরূপ, CardService.HorizontalSizeStyle.FILL_AVAILABLE_SPACE
।
বৈশিষ্ট্য
সম্পত্তি | টাইপ | বর্ণনা |
---|
FILL_AVAILABLE_SPACE | Enum | একটি Column উপলব্ধ অনুভূমিক স্থান পূরণ করতে Widget আকার দেয়। যদি অন্য কলামে বেশি স্থান থাকে, উইজেটটি তার নিজস্ব কলামের স্থান ছাড়িয়ে স্থানটি পূরণ করতে পারে। ডিফল্ট |
FILL_MINIMUM_SPACE | Enum | একটি Column অনুভূমিক স্থানের সর্বনিম্ন পরিমাণ পূরণ করতে Widget আকার পরিবর্তন করে। ন্যূনতম স্থান উইজেটের আকারের উপর ভিত্তি করে। উইজেটটি কলামের স্থানের চেয়ে ছোট হলে, এটি স্থান পূরণ করতে প্রসারিত হয় না। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eHorizontalSizeStyle is an enum used to define how widgets occupy space within a column in Google Chat apps and Google Workspace Add-ons.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two properties: \u003ccode\u003eFILL_AVAILABLE_SPACE\u003c/code\u003e (default) which expands the widget to fill the available horizontal space, potentially exceeding its column's width, and \u003ccode\u003eFILL_MINIMUM_SPACE\u003c/code\u003e which sizes the widget to its minimum required width based on its content.\u003c/p\u003e\n"],["\u003cp\u003eTo use these properties, call them using the parent class, name, and property, like \u003ccode\u003eCardService.HorizontalSizeStyle.FILL_AVAILABLE_SPACE\u003c/code\u003e.\u003c/p\u003e\n"]]],["`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"],null,["# Enum HorizontalSizeStyle\n\nHorizontalSizeStyle\n\nAn enum that sets how widgets fill the space of a column.\n\nAvailable for Google Chat apps and Google Workspace add-ons.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.HorizontalSizeStyle.FILL_AVAILABLE_SPACE`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `FILL_AVAILABLE_SPACE` | `Enum` | Sizes the [Widget](/apps-script/reference/card-service/widget) to fill the available horizontal space of a [Column](/apps-script/reference/card-service/column). If the other column has more space, the widget can fill the space beyond the space of its own column. Default. |\n| `FILL_MINIMUM_SPACE` | `Enum` | Resizes the [Widget](/apps-script/reference/card-service/widget) to fill the least amount of horizontal space in a [Column](/apps-script/reference/card-service/column). The minimum space is based on the size of the widget. If the widget is smaller than the space of the column, it doesn't expand to fill the space. |"]]