Pretty sure it's all good there
you're using the monitor in horizontal mode right? so...
288 is the vertical height, and I believe both resolutions you have listed have the 2 switched around...(due to being in horizontal mode)
so:
height x width 288 x 224
width x height 400 x 288
pretty sure that's how it works