Widget'ların bir sütunun alanını nasıl dolduracağını belirleyen bir enum.
Google Chat uygulamaları ve Google Workspace eklentilerinde kullanılabilir.
Bir enum'u çağırmak için üst sınıfını, adını ve özelliğini çağırırsınız. Örneğin,
CardService.HorizontalSizeStyle.FILL_AVAILABLE_SPACE.
Özellikler
Mülk
Tür
Açıklama
FILL_AVAILABLE_SPACE
Enum
Widget öğesini, Column öğesinin kullanılabilir yatay alanını dolduracak şekilde boyutlandırır. Diğer sütunda daha fazla alan varsa widget, kendi sütununun alanının ötesindeki alanı doldurabilir.
Varsayılan.
FILL_MINIMUM_SPACE
Enum
Widget öğesini, Column içindeki en az yatay alanı dolduracak şekilde yeniden boyutlandırır.
Minimum alan, widget'ın boyutuna bağlıdır. Widget, sütunun alanından küçükse alanı dolduracak şekilde genişletilmez.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]