I got a QWidget with some controls(QLabel, QLineEdit, QCheckBox) in it, and I put this widget into a QScrollView.

The problem is when I click QLineEdit or QCheckBox, it scrolls to the most right. So if QCheckBox' text is too long, user cannot not see this text. How to solve this?

tks.