I've a QSplitter inside a QWidget. Within the QSplitter, I've added a QTreeView and a QListView. Both the view widgets have not been populated yet. The QWidget is set to show maximized.
My question is how to show the QSplitter to be maximized too? Currently, the QSplitter's height is taking up only a portion of the QWidget's area (about a quarter); it's height is not fully stretched to occupy the QWidget. The QSplitter's width, however, has been fully stretched to fill the QWidget.
Other than hard coding the fixed height to the QSplitter, is there any other way to achieve this? Since different computers may have different resolution, I don't want to set a hard coded height to the QSplitter.
Bookmarks