UIPanelOptions
Defined in: ui/src/types.ts:353
Options for creating a root UIPanel (attached to an entity as a Component).
Extends
Section titled “Extends”Properties
Section titled “Properties”alignItems?
Section titled “alignItems?”
optionalalignItems?:"stretch"|"flex-start"|"center"|"flex-end"|"baseline"
Defined in: ui/src/types.ts:173
Inherited from
Section titled “Inherited from”alignSelf?
Section titled “alignSelf?”
optionalalignSelf?:"stretch"|"auto"|"flex-start"|"center"|"flex-end"|"baseline"
Defined in: ui/src/types.ts:115
Inherited from
Section titled “Inherited from”anchor?
Section titled “anchor?”
optionalanchor?:Anchor
Defined in: ui/src/types.ts:354
background?
Section titled “background?”
optionalbackground?:BackgroundOptions
Defined in: ui/src/types.ts:187
Inherited from
Section titled “Inherited from”direction?
Section titled “direction?”
optionaldirection?:FlexDirection
Defined in: ui/src/types.ts:170
Inherited from
Section titled “Inherited from”flexBasis?
Section titled “flexBasis?”
optionalflexBasis?:LayoutValue
Defined in: ui/src/types.ts:114
Inherited from
Section titled “Inherited from”flexGrow?
Section titled “flexGrow?”
optionalflexGrow?:number
Defined in: ui/src/types.ts:112
Inherited from
Section titled “Inherited from”flexShrink?
Section titled “flexShrink?”
optionalflexShrink?:number
Defined in: ui/src/types.ts:113
Inherited from
Section titled “Inherited from”
optionalgap?:number
Defined in: ui/src/types.ts:171
Inherited from
Section titled “Inherited from”height?
Section titled “height?”
optionalheight?:LayoutValue
Defined in: ui/src/types.ts:104
Inherited from
Section titled “Inherited from”justifyContent?
Section titled “justifyContent?”
optionaljustifyContent?:"flex-start"|"center"|"flex-end"|"space-between"|"space-around"|"space-evenly"
Defined in: ui/src/types.ts:179
Inherited from
Section titled “Inherited from”layer?
Section titled “layer?”
optionallayer?:string
Defined in: ui/src/types.ts:357
Target UI layer name. Defaults to “default”. Layer must be pre-created via UILayerManager.
margin?
Section titled “margin?”
optionalmargin?:number| {bottom?:number;left?:number;right?:number;top?:number; }
Defined in: ui/src/types.ts:109
Inherited from
Section titled “Inherited from”maxHeight?
Section titled “maxHeight?”
optionalmaxHeight?:LayoutValue
Defined in: ui/src/types.ts:108
Inherited from
Section titled “Inherited from”maxWidth?
Section titled “maxWidth?”
optionalmaxWidth?:LayoutValue
Defined in: ui/src/types.ts:106
Inherited from
Section titled “Inherited from”minHeight?
Section titled “minHeight?”
optionalminHeight?:LayoutValue
Defined in: ui/src/types.ts:107
Inherited from
Section titled “Inherited from”minWidth?
Section titled “minWidth?”
optionalminWidth?:LayoutValue
Defined in: ui/src/types.ts:105
Inherited from
Section titled “Inherited from”offset?
Section titled “offset?”
optionaloffset?:object
Defined in: ui/src/types.ts:355
x:
number
y:
number
overflow?
Section titled “overflow?”
optionaloverflow?:"visible"|"hidden"
Defined in: ui/src/types.ts:186
Inherited from
Section titled “Inherited from”padding?
Section titled “padding?”
optionalpadding?:Padding
Defined in: ui/src/types.ts:172
Inherited from
Section titled “Inherited from”visible?
Section titled “visible?”
optionalvisible?:boolean
Defined in: ui/src/types.ts:122
Inherited from
Section titled “Inherited from”width?
Section titled “width?”
optionalwidth?:LayoutValue
Defined in: ui/src/types.ts:103