http://s4.subirimagenes.com/otros/3508586sash.jpg
I'm learning Qt and trying to code a multiplayer card game and I have some doubts managing the geometry of widgets.
In the image above there are the scene, the QListWidget with the players, and a QTextBrowser for the chat and I want the QListWidget not to take its sizeHint, so the QTextbrowser expands to the left, how could I do that?.
Qt Code:
layout->addWidget(listWidget); layout->addWidget(textBrowser); layout2->addWidget(view); layout2->addLayout(layout); window->setLayout(layout2);To copy to clipboard, switch view to plain text mode
Thanks, and sorry my bad english.
Bookmarks