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

QWIDGETSIZE_MAX size



  • Dear all,

    I am currently working on a project, where have splitted a view to three horizontal sub views via QSplitter. I want to stretch the scene in order to show each subview in a separate monitor, so in total 3 monitors.

    Whenever I stretch the main window, two of the sub views are fit to the two of monitors but it is not able to be stretched to cover the third monitor as well.

    I searched around to find out how can I increase the maximum dimension size of the framer and the main view of that. It seems that I cannot go beyond 16777215. Is there any way to go beyond this value?

    I appreciate any help. Thank You!


  • Lifetime Qt Champion

    Hi,

    If you really want to have a widget bigger than that, you will have to build your own version of Qt change the value of QWIDGETSIZE_MAX. However, I don't know the implication of changing that value with regard to rendering and other backend possible issues.

    Out of curiosity, what is the design of your application ? Having a splitter on three screens is a bit surprising.


Log in to reply