Unfortunately, you can only control your own actions. While most of us were brought up correctly with manners, there are some people out where without a clue, your seatmate was one of them.
But, I hope that you don't pre-judge people on how they are dressed. You just never know about them.