Hi everybody,

I am new to this forum and qt programming also. I have written a small program which draws a simple 3d object. I am using QGLWidget for it. It is working fine. Now I am adding extra functionality by which user can resize it. Whenever user clicks on corner of widget and drags mouse, I am calling resize function by passing some values. I am facing a problem when shrinking size of glwidget. I have seen that it is not shrinking (width of widget) below some value. For example. 50.
Height is reduced below 50 but width is not reduced in any way.
Please help me. I stuck to this problem from last few days.

Thanks in advance.