TextView.setLeftMargin

Sets the default left margin for text in 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.

class TextView
void
setLeftMargin

Parameters

leftMargin int

left margin in pixels