Skip to main content

display.padding

since 0.9.6

Description​

AlphaTab by default has a padding between the border of the control and the start of the content. This setting controls this padding between border and content.

display.paddingJavaScript
paddingJavaScript
display.paddingJSON
paddingJSON
data-display-paddingHTML
data-paddingHTML
Display.Padding.net
display.paddingAndroid

Types​

TypeValues
double[]All

[left, top, right, bottom]

Default Value​

If set to null:

[20, 20, 20, 20] - for LayoutMode.Horizontal

[40, 40, 40, 40] - for LayoutMode.Page