Bitbybit Docs
    Preparing search index...

    Class SetStackPanelWidthDto (Inputs.BabylonGui)

    babylon.gui.stackPanel.setWidth 提供堆叠面板及其新宽度。

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • OptionalstackPanel: StackPanel
      • Optionalwidth: string | number

      Returns SetStackPanelWidthDto

    Properties

    stackPanel: StackPanel

    要就地更改的堆叠面板

    undefined
    
    width: string | number

    宽度,以像素字符串(如 300px)或父级的 0 到 1 比例表示

    undefined