Click or drag to resize

Com.ForbiddenByte.OSA.AdditionalComponents Namespace

 
Classes
  ClassDescription
Public classOSAPercentageContentPaddingSetter
Use this when the content padding should be a function of the viewport size, rather than a constant decided at edit-time. In other words, use if you want to specify the padding as a percentage rather than in pixels. It also allows for fine adjustments of the first/last item, mostly useful for centering them. A use case is keeping the last/first element in the middle when the content's extremity is reached. This can be done by setting a constant padding, but having a percentage-specified padding allows for seamless screen size changes