setHasFrame

open fun setHasFrame(hasFrame: Boolean)

Sets the style of the button.

Buttons can has a flat appearance or have a frame drawn around them.

Parameters

hasFrame

whether the button should have a visible frame