Important: Please read the Qt Code of Conduct -

Qt widgets overlapping when showing hidden widget.

  • I have created a layout as follows:
    => widget
    Widget=>formlayout=>widget=>formlayout=> widget => widget
    => widget=>formlayout => widget :starts hidden and can be shown to show options

    All widgets are subclassed with my own functionality.
    I have a widget that is show and hidden, depending on whether the settings should be shown.

    When this is expanded, it overlaps the other widgets.

    I have played around and tried a number of things, none to any avail... I suspect this may be a bug in Qt.

    The top widget shown above, is inside a scroll area.

    I can provide anymore info if required.

    Can anyone help?

Log in to reply