sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui / MapComponentView / setMargins

setMargins

abstract fun setMargins(left: Int, top: Int, right: Int, bottom: Int): Unit

Sets the margins of the ui component in PX.

Parameters

left - Int: left/start margin of the ui component

top - Int: top margin of the ui component

right - Int: right margin of the ui component

bottom - Int: bottom/end margin of the ui component