Funzione
Moderato
Widget:SetSlotSize
Sets the slot size and size rule.<br/><br/>Note: This method only works if this Widget is child of one of: HorizontalBoxSlot, VerticalBoxSlot, ScrollBoxSlot.
Non ancora tradotto
Sintassi
my_widget:SetSlotSize(size = 0.0, slate_size_rule = WidgetSizeRule.Automatic)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
size
facoltativo
|
float | 0.0 |
Size value for the slot |
slate_size_rule
facoltativo
|
WidgetSizeRule | WidgetSizeRule.Automatic |
Size rule for the slot |