Product: PowerShell Universal
Version: 2026.1.3
I would like to know how I can use Monospace font in a UDTextbox.
I am aware of wrapping it into
New-UDStyle -Style ‘.MuiInput-root { font-Family : monospace }’ -Content {
New-UDTextbox …
}
But that does not work when using the variant option.
I tried setting monospace font with -style or -sx, but no luck.
I would like to get more control about the width as well.
It is either -fullwidth or some standard width that mostly is too small or too wide…
Thanks.