Closed ObsidianPhoenix closed 1 year ago
Implemented in 2.3.0. Feel free to PR next time :)
Cheers.
Will do: typically I follow the MS process, and don't PR unless it's approved by the owners.
Great job on the module btw. Definitely seems to make it easier
I am not MS, I need help :D If things can be more configurable - great. If things can be improved - even better.
When using the
New-AdaptiveTable
function, passing in data results in all columns with identical widths.On investigation, it appears to be due to setting the width to stretch on the columns:
https://github.com/EvotecIT/PSTeams/blob/f532431ef931f50cd94bd9f1768c390e945d01bc/Public/New-AdaptiveTable.ps1#L225
This is from the Renderer Guide on MS:
For tables with small data columns (e.g. counts), this results in data in longer fields being cut off.
Could we add a property that allows the use of
auto
for widths?