Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DropdownMenuSizeMode

Mode used to calculate the width of a dropdown.
Read time 1 minuteLast updated 11 days ago

Definition

public enum DropdownMenuSizeMode

Fields

Value

Description

AutoThe width of the dropdown matches the width of the provided Rect, but if the content is wider, it expands to fit the content. This is the only supported mode for OS menus.
ContentThe width of the dropdown menu matches the width of the content.
FixedThe width of the dropdown matches the width the provided Rect.