Below you can see the front-view size comparison of the Nikon D300 and Pentax K-1 II. The Pentax K-1 II is 10 mm narrower and 4 mm shorter than the Nikon D300 but it is also 12 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.