New-UDColumn -Offset

Sorry if I’m being an idiot here and I’ve just forgotten how to use it, but is -offset bugged?

Doing something like this used to sit the card 4 columns in, with it being 4 columns across, so in this instance should be central:

new-udrow -Columns {
    new-udcolumn -LargeSize 4 -largeoffset 4 -Content {
        New-UDPaper -Elevation 2 -content {}
    }
}

I’m on
Universal: 2.6.0
UD: 3.8.0
Hosting: IIS

Wow. I’m surprised I never ran into this before. I think this was actually from Materialize in V2 and is not actually a feature of Material-UI’s grid system.

I’m going to remove these parameters since they won’t do anything.

You can work around this will two columns.

new-udrow -Columns {
    new-udcolumn -LargeSize 4 -Content {
    }
    new-udcolumn -LargeSize 4 -Content {
        New-UDPaper -Elevation 2 -content {}
    }
}

Think the only case where I couldn’t use this workaround is if I needed to pad out the LargeSize, but lets say I didnt want to add any padding to medium or small, I cant use MediumSize 0 and if I use MediumSize 12 it would drop it onto another row.

I’ll have a play around with grids and spacing and see if I can acheive what I need using that instead.

Ah, yeah. That’s a good point. I bet if we adjusted the range on that validateSet that 0 is a valid value for the react component.