timeElapsed
fun ProgressLayoutScope<*>.timeElapsed(compact: Boolean = false, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)
Add a cell that displays the elapsed time to this layout.
Parameters
compact
If true
, the displayed time will be formatted as "MM:SS" if time remaining is less than an hour. false
by default.
style
The style to use for the displayed time.
fps
The number of times per second to update the displayed time. Uses the text fps by default.