Back

SetMargins

JS Py
Hello World

Set the default margins settings for controls.

app.SetMargins( left=0, top=0, right=0, bottom=0, mode='px' )
Number
Number: fraction (0..1)
String: “px” or “sp” or “dip” or “mm” or “pt”