-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Format-Table with centered calculated property misaligns the column label #8428
Copy link
Copy link
Closed
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.The issue is fixed.WG-Interactive-Consolethe console experiencethe console experience
Description
This is a regression from Windows PowerShell.
Steps to reproduce
[pscustomobject] @{ one = 1 } |
Format-Table @{ l='one'; e='one'; width=10; alignment='center' }Expected behavior
one
---
1
Actual behavior
one
---
1
Note how the column header (one) is misaligned.
Environment data
PowerShell Core v6.2.0-preview.2 on macOS 10.14.1
PowerShell Core v6.2.0-preview.2 on Ubuntu 18.04.1 LTS
PowerShell Core v6.2.0-preview.2 on Microsoft Windows 10 Pro (64-bit; Version 1803, OS Build: 17134.407)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.The issue is fixed.WG-Interactive-Consolethe console experiencethe console experience