Waaaaaaaay back in 1973'ish, a new law was brought in, called the Sex Discrimination law - so a bunch of us girlies all came to school in trousers/slacks in school colours - Maroon, Navy or grey, and we looked very smart. However, the ring leaders were sent home, and the rest of us warned not to do it again. But it seems our point was made, and the uniform was soon changed to allow girls to wear trousers to school (but the boys then couldn't wear skirts........)
What I'm saying is 'yes, I agree with a school uniform, so long as it is 'reasonable', but if not, then there are ways of getting it changed....