Is it possible to get a swiftUI timer-text to align .trailing?

Please consider simple example below.

I am trying to put a timer in the upper right corner of a live activity. I am done, it works, but I'm trying to get the timer to look better.

If I take a regular text, I can get it to align properly by adjusting the .frame(), , but for a text with a timer inside it, alignment is ignored from what I can see.

                Text("Hello").frame(width: 90, alignment: .trailing).border(.red)
                /*Text(timerInterval: timeRange, countsDown: false)
                    .monospacedDigit().font(.subheadline).frame(width: 90, alignment: .trailing).border(.red)*/                
            }

Is there any way to fix this?

Right now, I have a fixed width so that HH:mm:ss will fit, but that doesn't look super great if it's just minutes and seconds for example, there's an empty block to the right

Answered by DTS Engineer in 793744022

@Mathias_

Using a fixed with is fine, but it may truncate your timer. Please submit a bug report at https://feedbackassistant.apple.com and post the FB number here.

@Mathias_

Using a fixed with is fine, but it may truncate your timer. Please submit a bug report at https://feedbackassistant.apple.com and post the FB number here.

Is it possible to get a swiftUI timer-text to align .trailing?
 
 
Q