How do you center the tabs in New-UDTabs?

I see that there is a centered:{ true } in the Material UI for .MuiTabs (https://material-ui.com/components/tabs/#centered), but I’ve tried all manner of using New-UDStyle that I can think of to no avail. Here’s an example:

New-UDStyle -Style '.MuiTabs { centered: "true" }  ' -Content {
    New-UDTabs -Tabs {
        ...

What am I doing wrong?

Product: PowerShell Universal
Version: 2.2.1

It’s possible the centered attribute is doing more than setting CSS styles on that React component. This should be easy to add to UD itself. I opened an issue here: -Centered for New-UDTabs · Issue #368 · ironmansoftware/issues · GitHub

While your in there, any chance you can add -Scrollable and -Disabled as options too? Please and Thank you!

1 Like

Sure thing!

1 Like

Rad! Thanks, Adam!