Solved Set default position of QSplitter?
-
I can't figure out how to do it.
setStretchFactor()
doesn't seem to be working, no matter what I put for the second argument, the position stays the same, looking like this for the two splitters:Is there any way to set the exact position of the splitters?
-
@adalovegirls Please provide more information:
- Where are the splitters?
- What widgets do you manage using splitters?
-
Hi,
Beside @jsulm questions, are you looking for QSplitter::setSizes ?
-
I got around this by just setting the maximum sizes for various widgets which suits my needs better in this situation, but thank y'all for the help!