CompactProcessControlViewModel

constructor(buttonViewModel: TtButtonViewModel = TtButtonViewModel(), isFixedWidth: Boolean = false, priority: Int = 0)

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.

priority

The priority of the control. The higher the value, the more important. The importance determines the precedence in visibility. That is, when space is limited the more important controls are visible and less important controls are hidden. Default value is 0.