if i understand you issue right, all u need is to use QScrollArea not a Qfram.