I'm trying to implement something like questionnaire. So I have some textedit widgets and some radio buttons(yes/no). I have all of them added into QVBoxLayout. This layout is added into QScrollArea and QScrollArea is added into QTabWidget. I use Qt 4.8.1 and Qt Designer for that.
The problem is that several questions longer than others (for example they take 2 strings instead of one). When i start my app layout makes all textedits to have the same height. So long textedits show only part of textedit widget.
I've tried to use minimumSize property on neccessary questions.It helped a bit. So the height became well but there are some issues with layout. The widgets which I set minimumSize for became overlap other widgets.
Could you please help me with my issue or provide some resources that may help? I'm a very beginner in Qt and that's my first question there. And please note I am not able to upload snapshots because I don't have enough reputation...