CompactProcessControlViewModel

fun CompactProcessControlViewModel(buttonViewModel: TtButtonViewModel = TtButtonViewModel(), isFixedWidth: Boolean = false)

Parameters

buttonViewModel

The ViewModel that will be associated to the displayed button.

isFixedWidth

When true, the minimum width of the button is locked to the dimension specified by the ttivi_processpanel_button_width attribute. When false, the minimum width is adapted to the button's contents.