I am using the QStackedWidget example with custom 10-12 widgets having many controls on each widget. After few run the widgets start overlapping each other. I have searched in forum and found the similar problem but thought of starting the new thread as in this application I am not using the QWebView and also memory is well under controlled.
I though if I redraw the complete widget on switching this problem may be fix. I tried calling repaint on switching but still overlapping occurs many a time. Now I am think of the background color of make the widget opaque so that the underlying widget control can't be seen.
I tried different approaches but can't prevent the overlapping.
Is there any way to prevent overlapping of widget?