[FEATURE REQUEST] Give CurrentPosition
and RemainingDuration
fixed widths.
#1045
Labels
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
I am using
CurrentPosition
,ProgressBar
, andRemainingDuration
together in aRow
. SinceCurrentPosition
andRemainingDuration
do not have fixed widths, myProgressBar
's width is changing each second as it is taking up the available space in theRow
.Screenshot
Screen.Recording.2025-01-03.at.2.12.45.PM.mov
Describe the solution you'd like
I was thinking that we wrap the
Text
widgets used withinCurrentPosition
andRemainingDuration
in aStack
. In thisStack
, we can have anotherText
widget with aColors.transparent
color that is set to the widest possible string. If the associated duration is > 1hour, this value would be00:00:00
. If associated duration is < 1hour, this value would be00:00
.Describe alternatives you've considered
Using a mono-spaced font?
Additional context
N/a
The text was updated successfully, but these errors were encountered: