Bitbybit Docs
    Preparing search index...

    Class PaddingLeftRightTopBottomDto (Inputs.BabylonGui)

    Feeds babylon.gui.control.changeControlPadding with a control and the space kept clear on each side of it.

    Index

    Constructors

    • Parameters

      • Optionalcontrol: Control
      • OptionalpaddingLeft: string | number
      • OptionalpaddingRight: string | number
      • OptionalpaddingTop: string | number
      • OptionalpaddingBottom: string | number

      Returns PaddingLeftRightTopBottomDto

    Properties

    control: Control

    The control to change in place

    undefined
    
    paddingLeft?: string | number

    Space kept clear on the left, as a pixel string or a fraction; left out, it stays as it is

    undefined
    

    true

    paddingRight?: string | number

    Space kept clear on the right, as a pixel string or a fraction; left out, it stays as it is

    undefined
    

    true

    paddingTop?: string | number

    Space kept clear at the top, as a pixel string or a fraction; left out, it stays as it is

    undefined
    

    true

    paddingBottom?: string | number

    Space kept clear at the bottom, as a pixel string or a fraction; left out, it stays as it is

    undefined
    

    true