You should also set the height you want on the QmQTargetCanvas instance.