setRightMargin

open fun setRightMargin(rightMargin: Int)

Sets the default right margin for text in the text view.

Tags in the buffer may override the default.

Note that this function is confusingly named. In CSS terms, the value set here is padding.

Parameters

rightMargin

right margin in pixels