Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
splitter setStretchFactor doesnot work in stackedwidget
johnson54 last edited by aha_1980
I put a tree widget in the left and a stacked widget in the right, and use horizntal splitter for layout
the following code is used for initialization
but it doesnot work, the width of tree widget and of stacked widget is not 4:6
I guess you mean vertical as you said you put widgets in the left and right sides?
So, it should be 2:3, what is it now?