Enum HorizontalSizeStyle
हॉरिज़ॉन्टलसाइज़स्टाइल
यह एक वैल्यू है, जो यह सेट करती है कि विजेट किसी कॉलम के स्पेस को कैसे भरते हैं.
यह सुविधा, Google Chat के ऐप्लिकेशन और Google Workspace के ऐड-ऑन के लिए उपलब्ध है.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
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 साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-30 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-30 (UTC) को अपडेट किया गया."],[[["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"]]