@minecraft
    正在准备搜索索引...

    接口 ISubPanePropertyItemOptions

    Optional properties for Sub Pane property item

    interface ISubPanePropertyItemOptions {
        alignment?: LayoutAlignment;
        collapsed?: boolean;
        hasExpander?: boolean;
        hasMargins?: boolean;
        infoTooltip?: TooltipInteractiveContent;
        layout?: PaneLayoutType;
        maxHeight?: number;
        scrollable?: boolean;
        title?: LocalizedString;
        uniqueId?: string;
        width?: number | LayoutSize;
    }

    层级 (查看层级一览)

    索引

    属性

    alignment?: LayoutAlignment

    Alignment of property items within the pane of the property pane. If undefined, it will default to Left.

    collapsed?: boolean

    Initial expander state of sub pane. If undefined, it will default to false.

    hasExpander?: boolean

    Determines if sub pane should have an expander. If undefined, it will default to true.

    hasMargins?: boolean

    Adds additional margins to sub pane. If undefined, it will default to true.

    Optional information tooltip for the pane to be displayed on the header.

    Determines layout of sub pane property items. If undefined, it will default to Vertical.

    maxHeight?: number

    Maximum height of the property item.

    scrollable?: boolean

    Enables scrolling for the pane if it has a max height defined.

    Localized title of the property pane

    uniqueId?: string

    Unique identifier for the pane

    width?: number | LayoutSize

    Custom width of the property item.