Hi
I have a strange problem with the QGridLayout. I have a QGridLayout that has two rows. The lower holds a small bar with menu buttons and the upper row holds a QStackedWidget. I use the QStackedWidget to change the windows. In one window I want not to show the Menubar. So i hide it by calling QWidget::hide() (Menubar is implemented as a normal QWidget). When I later call again QWidget::show(), the menubar is shown again, but not at the old position. You can only see the topmost five pixels, the rest is shifted out of the display at the lower edge. It looks like if you show again the menubar, it is appended at the end of the QGridLayout, but the layout is not adjusted again to the new content, but is simply made longer, ignoring that the display isn't longer. When I let me give out the height of the layout, it gives me 694 Pixels, anyway the screen size is 640 Pixels. Does anybody has also encountered problems with Layout resizing and knows how to solve them?
Thanks Guys




