How can I align elements in column when SpanFromAbove is used?

Using the example given in documentation for Grid

Grid[Table[RandomChoice[{SpanFromLeft, SpanFromAbove,
Item[RandomInteger[1000],Background -> Hue[RandomReal[], .2, .9]]}], {20}, {12}],
Frame -> All, Alignment -> Center]


enter image description here

The SpanFromLeft row elements are centered but not the ones from SpanFromAbove column.


1 Answer 1



Alignment -> {Center, Center}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.