Resizing widget in a gridlayout
Ok this may be a stupid question, but I cannot seem to be able to change the size of a widget in a given layout. When i set the max and min height and width it has no affect to what is drawn.
here is some code:
// the function that actually creates a txtbox
- QTextEdit *text = new QTextEdit;
- QString *instanceStringLarge = new QString;
- return text;
the function call that creates it:
no matter what i try, the widget simply fills the size of the row.
is there a way to keep this from happening. I basically want to have two widgets reside within the same row without overlapping each other.