KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is it possible to have a QSplitter which has one widget of a fixed size and the other with a variable size? This code sets things right, but when the window is resized the splitter changes proportionally to the initial widgets sizes: vSplitter = new QSplitter(Qt::Vertical, this); vSplitter->addWidget(widget1); vSplitter->addWidget(widget2); QList<int> heights; heights.push_back(550); heights.push_back(1000); vSplitter->setSizes(heights); setCentralWidget(vSplitter); Thank you.
Tags (comma-separated)
Save Edits
Cancel