How can notification action buttons' text be center aligned?

The iOS documentation shows notification actions buttons with the text center aligned: https://developer.apple.com/documentation/usernotifications/declaring-your-actionable-notification-types

But there's no apparent way for an app to control this. The buttons are controlled and rendered by the system and the text is always left aligned.

Is there some way to get the text center aligned?

The positioning of the text on the buttons is a default behavior in the component that renders them. And there is no way to modify that behavior.

The difference between the documentation and actual buttons today is likely to a deliberate change in the visuals of that component since the documentation was published.

How can notification action buttons' text be center aligned?
 
 
Q