New-UDCodeEditor -Autosize Parameter Not Working

New-UDCodeEditor -Autosize Parameter Not Working

avatar
(anonymous user)
Product: PowerShell Universal
Version: 2.12.5


I can’t get the -Autosize parameter to work with New-UDCodeEditor. I assume that parameter is supposed to automatically expand the code editor as text/data is added to it.

On the other hand, it might not work with how I’m using the code editor. I’m using it as an on-screen log that automatically updates as the dashboard runs functions behind the scenes. As things are being processed, I have here-strings writing text to the code editor.

All Comments (1)

avatar
(anonymous user)

This seems to still be an issue. some of the parameters simply does nothing.
HideCodeLens, CanSave, Width for example.

@Adam Driscoll might warant an issue, if the code editor isnt being reworked in 5.0?

Edit -Height and -Width works with ‘700px’ unlike shown in the docs