A TreeWidget, Stacked Widget, and a Horizontal Splitter
Solved
General and Desktop
-
This is what I start with in the Designer:
And this is how it looks when I run it:
The treewidget takes up all the space. And I noticed in the Property Manager that i lost access to both widgets' width and height properties when I joined them with the splitter. So that made me think there might be a setting for the splitter sash position. But that's not the case, that I can see.
How can I programmatically set widget widths when they're joined by a splitter?
-
Hi,
QSplitter::setSizes is what you are looking for.