Hierarchy

  • PBUiDropdown

Properties

acceptEmpty: boolean
color?: PBColor4

default=(0.0,0.0,0.0,1.0)

disabled: boolean
emptyLabel?: string
font?: Font

default=0

fontSize?: number

default=10

fontSrc?: string

a ttf font file in the scene content or a Google Fonts family name; font is the fallback (default: unset)

options: string[]
selectedIndex?: number

default=null when accept_empty==true; default=0 when accept_empty==false

textAlign?: TextAlignMode

default='center'