Nope. Of course, you'll see kids AND adults in shorts. But if you are asking what Carnival *asks* you to do, no shorts on anyone at night in the dining room.
My son wore khaki pants and a collared shirt for the dining room, except on formal night when he wore slacks, a button down shirt, tie and navy blazer. Most of the kids in our dining room were dressed up for formal night and we didn't see any shorts on the other nights, although I'm sure there were some.
Carnival Elation March 11
Carnival Imagination Sept 07
Carniival Sensation Dec 06
RCI Sovereign of the Seas Sept 06
Carnival Miracle Sept 05
Carnival Glory Sept 04
Carnival Fantasy Jan 04