Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to disable the auto-enlarging of QSplitter when adding more widgets



  • Hi Team,

    I'm trying to develop one simple application with QSplitter, the splitter is used as one big container, and one or more widgets can be added into it, the problem is that -

    The QSplitter may auto-enlarge when adding more sub-widgets, is there any way to prevent this? I know this is a very strange requirement, but I ONLY want to the QSplitter to be resized when the outer window is resized, thanks very much!

    Regards
    James


Log in to reply