There's good advice here to go by.
The seat, position of seat, shoulder room, headroom, leg room, knee room, foot placement, pedal angles and location, angle of view in relation to the windshield, as in not having to duck your head for maximum visibility or leaning forward a lot to look out the side windows, it all comes into play.
Even the gearshift is relevant.
I can think of 4 or 5 trucks I've driven that I heated and bent the gear stick(s) to put them in a position more suited to my height because my right arm and shoulder started giving me trouble and I've added extensions to gear sticks as well for the same reason.
I've even cut a couple inches out of one stick that I bent so my shifting arm was in a more natural position.