sub window shrinks on Linux when opened through main window.
-
I have a main window. I open sub window through the main window(menu->new window) .The sub-window is a vertical layout which consists of stacked widget, sidebar-frame . In windows , if i open sub-window through main window it opens properly (with all items at proper position). In Linux ,if I open sub-window through main window it does not open as it opens in windows. In Linux all the items,push-button, label shrinks when new sub window is opened . If i click the sub-window once using mouse it appears properly without shrink. How to make a sub-window click while opening it ?
Or is there any other way to do so ?
Before clicking . After click it looks like these. -
Hi,
How are you building your sub window ?
-
Did you put all the widgets in layouts ?
-
When are you doing it ?
-
In the constructor or in the showEvent ?